java
In this question we want to simulate snakes and ladders game.Here are some of the rules:
The game has 2 to 4 players.
If a player wants to enter a cell occupied by another player,the player attempting to enter the cell will be moved to the firstcell. Note that we can have more that one player in the firstcell.
Players take turn to roll the dice. Then, they move their pieceforward the number of spaces shown on the dice.
If the player lands at the bottom of a ladder, it must move upto the top of the ladder.
If the player lands on the head
PayPal Gateway not configured
PayPal Gateway not configured