Click here to Skip to main content
15,850,685 members
Please Sign up or sign in to vote.
1.00/5 (5 votes)
See more:
I need the algorithm for snake and ladder.
1)Logic to move the user up when he comes to base of ladder.
2)Logic to move the user DOWN when he comes to head of snake.
3)To randomly change the position of snake and ladder after each round,such that the base of ladder/head of snake does not come in place of user's position.
Updated 16-Oct-11 19:30pm

Have you tried Google?

Share this answer
Please don't ask for complete solutions to your projects. This site is here to help people with work they are doing themselves, not to do it all for them. If you really do not have any idea how to start then take a look at some of the articles here on CodeProject, and try using Google to do some research for yourself.
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900