Here\'s the description: GooseGame is a very old board game for two or more play
ID: 3545856 • Letter: H
Question
Here's the description:
GooseGame is a very old board game for two or more players. At each turn, each player throws 2 dice and moves its piece throughout a board with 63 squares. On certain squares, there are geese, which allow the player to move to the next goose, and roll the dice again. They usually recite "From Goose to Goose, I roll the dice because it's my turn!" Several other special squares are scattered throughout the board, but we are not concerned about those. GooseGame.java should ask for the number of players and simulate a game with that number of players. Geese are located on squares 5 and 9 and then every 5 and 9 squares, up to 63. (i.e. 5,9,14,18,23,...,59,63). Players take turns to roll the two dice and move forward that amount of squares. If the square they arrive to is a Goose, then they say "From Goose to Goose, I roll the dice because it's my turn!" and roll the dice again. If they arrive to another Goose, the same thing happens again until the square they arrive to is not a Goose. Then it's the next player's turn. The game ends when a player arrives to (or passes) square 63.
Please write the code in java. It's really hard for me. Thank you
Explanation / Answer
Deadline for this ?
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.