Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 320 results for
snakes
- Page 1
Snakes and Ladders game
Programming
Software Development
13 Years Ago
by guidely
… I did wrong but it no working. I am making
Snakes
and Ladders game with out using list import random separator…
Re: Require help in detection collison between 2 snakes
Programming
Software Development
16 Years Ago
by Murtan
… 'snake' collision detection just looked at the next square the
snakes
head was going to be put. If there's something…. As long as you apply the same rule to both
snakes
, it should be able to detect collision with objects for…
Require help in detection collison between 2 snakes
Programming
Software Development
16 Years Ago
by Nyaato
… out. I want to implement a collision detection between two
snakes
that would be in the maze. Instead of the usual…
Re: Snakes and Ladders game
Programming
Software Development
13 Years Ago
by TrustyTony
You are trying to print value with no set value line 78, and that variable is never used so just remove lines 77 and 78. You have n instead of \n all around your code and you are using lists as values in c_l_spaces, even you said you can not use them.
Re: Snakes and Ladders game
Programming
Software Development
13 Years Ago
by guidely
yep I notice that I dont really know if I not use values but anyway still get error print(separator, end='') ^ SyntaxError: invalid syntax
Re: Snakes and Ladders game
Programming
Software Development
13 Years Ago
by guidely
> Sorry actually know why because I didnt use python 3.xx I use 2.xx so I delet , end= ' ' outBut when I run still get error Enter the number of players (0 to exit): 2 ***Player 1*** You are currently on space 0. You rolled 2. You moved to space 2. -------------------- ***Player 2*** You are currently …
Re: Snakes and Ladders game
Programming
Software Development
13 Years Ago
by TrustyTony
input -> raw_input But is this really your code?
snakes and ladder game
Programming
Software Development
13 Years Ago
by marino07
i have to make a two players snake and ladder game in c++, in which i have to display the board aswell. i donot know should i use set(w) statment and cout my board or should i go for arrays? n if i do it using arrays, how to show where the snankes and where the ladder lies? please help. Thank you.
Re: snakes and ladder game
Programming
Software Development
13 Years Ago
by c3r3alki113r
I would create an array (say board[]) from that array if it was 0 it would be a standard place (no snake or ladder) if it was a positive number then it would be a slide (and advance the piece) if negative then it would a snake and draw the board manually for display function i would use % (modulus) to find the line to print on
Re: snakes and ladder game
Programming
Software Development
13 Years Ago
by marino07
thank you for replying. actually, i am a new learner and i donot have much knowledge. when i display the board on screen i have to mention where is the snake and where is a ladder. i tried to do it using "setw " but it causes trouble in the board alignment. by using arrays i donot know how to accomodate char type "snake" or &…
J2ME Traversing Help
Programming
Mobile Development
15 Years Ago
by LaChavvy
…} public void displayGameSetup() { gameSetup = new Form("
Snakes
and Ladders : Game Setup"); gameSetup.addCommand(new Command(&… } public void displayInstructions() { instructions = new Form("
Snakes
and Ladders : Instructions"); instructions.addCommand(new Command("…
Re: Reading File With Scanner , String is Null
Programming
Software Development
13 Years Ago
by vaironl
… new read(); reado.readf(); reado.stringToBoolean();
snakes
[] snakesArray = new
snakes
[4]; snakesArray[0] = new
snakes
(reado.getName(),reado.getBoolean(),reado.getInt(),reado….getBoolean2(),reado.getInt2(),reado.getDouble2()); snakesArray[2] = new
snakes
(reado.getName3(),reado.getBoolean3(),reado.getInt3(), reado.getDouble3()); snakesArray[…
Re: Reading File With Scanner , String is Null
Programming
Software Development
13 Years Ago
by vaironl
… new read(); reado.readf();
snakes
snakeo = new
snakes
(reado.getName()); System.out.println(snakeo.snake1());
snakes
snakeo2 = new
snakes
(reado.getName2()); System.out.println…empty"; venomous = false; age = 2; weight = 5.23; } public
snakes
(String n){ snake = n; } public String snake1(){ return snake; } } …
Re: fun, but hard work
Programming
Software Development
16 Years Ago
by VernonDozier
…have an assignment to make a text-based
snakes
and ladders game using Dev-C++. I …that i'm trying to set positions for
snakes
and ladders on the board so that whatever…that i'm trying to set positions for
snakes
and ladders on the board so that …marked. Thanks.[/QUOTE] I see the words "
snakes
" and "ladders", which are plural,…
Snake game, Class problem
Programming
Software Development
15 Years Ago
by Skeen
…, and I've created a class to handle the
snakes
(players and AI
snakes
), this works out quite well, however, at the… doing the constructor, and to be able to declare my
snakes
on the fly, when they're introduced in the game…
predators-preys game
Programming
Software Development
14 Years Ago
by eng hassan
… outside the grid. There are two kinds of predators:
snakes
, and scorpions. On the other hand, there are three kinds…. Scorpions eat bugs and ants but not worms, while
snakes
eat worms and bugs but not ants. The game consists… along with the current creatures. Use the characters ‘S’ for
snakes
, ‘X’ for scorpions, ‘B’ for bugs, ‘A’ for ants,…
Android Java: What makes my game crash?
Programming
Software Development
7 Years Ago
by Sinisa_1
…in Java, and I applied it on Ladders and
Snakes
. Made one in Java. Now I'm learning …Android. Here's the question: Making simple Ladders and
Snakes
game. Can't use those in Google Play, … extends AppCompatActivity { AbsoluteLayout layout; // Squares translation for Ladders and
Snakes
final int[] posLS = new int[]{0, 1, 38, 3…
array problem in java "Snake game"
Programming
Software Development
18 Years Ago
by MNR
… game. i need an array to store allposition of the
snakes
body. i will also need a variable to store the… number of parts in the
snakes
body. I know that i have to use the number…
Polymorphism/Non-Polymorphism
Programming
Software Development
17 Years Ago
by balla4eva33
…: public Animal { public: Snake (double weight, char * name); void makeNoise(); //
Snakes
should say Hiss }; class Cow : public Animal { public: Cow (double… } Snake::Snake (double weight, char * name) : Animal (weight, t_Snake, name) {} //
Snakes
should say Hiss void Snake::makeNoise() { cout << "…
fun, but hard work
Programming
Software Development
16 Years Ago
by blackbeard
I have an assignment to make a text-based
snakes
and ladders game using Dev-C++. I have so far … from here that i'm trying to set positions for
snakes
and ladders on the board so that whatever random number…
Re: fun, but hard work
Programming
Software Development
16 Years Ago
by blackbeard
… and ladder value. Anyway, the general idea is that "
snakes
and ladders" is a board game with 100 tiles…'m still stuck! Please help, especially with the location of
snakes
and ladders on the board because I still don't…
can u please solve
Programming
Software Development
15 Years Ago
by anithaca_333
…, a mouse, a mongoose..dogs kill mongoose mongoose kills
snakes
and
snakes
kill mice.. The speeds of the mouse snake mongoose and…
Re: showing a mysql tables content based on checked radio button?
Programming
Web Development
12 Years Ago
by diafol
…'s assume you want the following structure: categories (e.g.
snakes
, inverts, lizards, amphibians, testudines) subcategories (e.g. your previous … the table `categories` */ insert into `categories`(`cat_id`,`category_label`) values (1,'
Snakes
'),(2,'Lizards'),(3,'Testudines'),(4,'Amphibians'),(5,'Invertebrates'); /*Table structure…
Re: Polymorphism/Non-Polymorphism
Programming
Software Development
17 Years Ago
by Duoas
… creatures so aren't supposed to actually exist: Horses exist,
Snakes
exist, Cows exist. [color=green][B]My recommendations are[/B…
Re: fun, but hard work
Programming
Software Development
16 Years Ago
by n1337
… from here that i'm trying to set positions for
snakes
and ladders on the board so that whatever random number…
Re: fun, but hard work
Programming
Software Development
16 Years Ago
by n1337
… 100th tile? > Please help, especially with the location of
snakes
and ladders on the board because I still don't…
Re: can u please solve
Programming
Software Development
15 Years Ago
by wildgoose
… each coordinate by keyboard. You know... dog > mongoose >
snakes
> mouse ...So you know what chases what! Nobody is…
Bing Bong Psycho Calling
Community Center
Say Hello!
18 Years Ago
by tamaz
… a tad messy. ). Favourite Language - C. Hobbies - Motorbikes, computers, motorbikes,
snakes
, motorbikes, beer, motorbikes, movies and sometimes for a change I…
Hello from SA
Community Center
Say Hello!
16 Years Ago
by AndreC
… photography and running up and down mountains in search of
snakes
and butterflies. But for now I am stuck in my…
Snake Game
Programming
Game Development
16 Years Ago
by waxx
… not be allow to make a backward. And when the
snakes
collide on its own body then it will show gameover…
1
2
3
6
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC