Snakes and Ladders Design and write a program that plays Snakes and Ladders. The game should not be interactive Try to write a data driven solution rather than a code driven solution. In a data driven...

1 answer below »
Need your help to write this 'snakes & ladders game. all the instructions are in the pdf file. The main requirement is to take a professional approach in writing this game. Thank you


Snakes and Ladders Design and write a program that plays Snakes and Ladders. The game should not be interactive Try to write a data driven solution rather than a code driven solution. In a data driven program much of the program's logic exists in program’s data structures How do you play Snakes and Ladders? 1. At game’s start, the players put their marker on square 1 2. The game decides who throws the first 3. The players take turns throwing the die. 4. The number of pips on the upper most face of the thrown die is the number of squares the player moves its marker forward. 5. If a marker lands at the bottom of a ladder, the marker must climb to the top of the ladder. 6. If a marker lands on the head of a snake, the marker must slide down to the tail of the snake. 7. The first player to get to square 100 wins. A marker must land exactly on the last square to win. 8. If a player’s calculated square is greater than 100 then the player’s marker rebounds from square 100. 9. A player almost always must take an extra turn if the player rolls a six. Snakes and Ladders Snakes and Ladders Your grade is determined by how well your program answers these questions. 1. How do you represent a player? 2. How do you represent the collection of players? 3. How do you represent a player's marker? 4. How do you represent the board? 5. How do you represent the head and foot of a ladder? 6. How do you represent the head and tail of a snake? 7. How do you represent a transition from a snake’s head to its tail? 8. How do you represent the transition from a ladder’s foot to its head? 9. How do you define ‘rebound from 100’? 10. How do you move a player along the board? 11. How do you select a player to roll the die? 12. How do you display the progress of the game? 13. How does the game end? 14. Do you use strucs and classes represent some of the objects in the game? 15. Do you use dynamic structures to represent some of the objects in the game? 16. When must a player decline to take an extra turn?
Answered 1 days AfterDec 17, 2021

Answer To: Snakes and Ladders Design and write a program that plays Snakes and Ladders. The game should not be...

Sathishkumar answered on Dec 18 2021
111 Votes
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here