You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To design a Snake and ladders game with the following specifications.
Game to have a board, that can start with 1 and end at any upper limit not necessarily 100.
Game can support more than 2 players.
Game has snakes and ladders. When players is bit by a snake player moves from head to tail. When player reaches a ladder he moves from bottom of ladder to top of ladder.
Game should support more than one die.
If a player rolls more than the upper limit the player should stay at the same place.
A game can end in two ways:
If one player finishes the game
If all players except one finish the game
The choice should be selected at the start of the game.
The game can be initialized manually or automatically, user should have the choice to initialize the game in whichever way before the start of the game
Ensure that two or more snakes or ladders have their mouths or feet respectively on the same square
Ensure a user always goes to a lower number square when bit by a snake
Ensure a user goes to higher number square on climbing up a ladder.