- Given a Gaming board of 10X10 size.
- A dice with six faces which on rolling can give a number between 1 to 6
- Board contains 8 snakes with their head and tail information.
- Currently game is played by 2 Players.
- As soon as player has to move a position on which snake head lies, its position is reset to snake's tail position.
- Board contains 8 ladders with their bottom and up information.
- As soon as player has to move a position on which ladder bottom lies, its position is reset to ladder's top position.
- When player hits 6 on dice, he is given another chance to roll dice and whatever will be the total of both roll, player will move that positions on board.
- If player hits 6 thrice, there will be no movement in his position. 10.Whenever any player reaches to a position equal to or greater than maximum number of board (i.e. 100), he is declared winner and game ends. 11.If none player wins,runtime exception occurs (rare scenario).
-
Notifications
You must be signed in to change notification settings - Fork 1
shrawangaur/SnakeLadderGame
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
This is IDeas Company Assignment
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published