Answered step by step
Verified Expert Solution
Question
1 Approved Answer
WRITTEN IN JAVA PLEASE NEEDS TO BUILD AND RUN BEAT THAT! Beat That is a fun game that can be played by children aged 5
WRITTEN IN JAVA PLEASE
NEEDS TO BUILD AND RUN
BEAT THAT! Beat That is a fun game that can be played by children aged 5 upwards. The number of dice used within the game can vary depending on the age of the children. For example, younger children may be fine with two dice, whereas older children may prefer more of a challenge, so potentially up to 7 dice could be used within the game. All that is needed to play Beat That is dice and a paper and pencil for scoring. Children are passed the dice and have to come up with the largest number possible combining the dice thrown. For example, if a child was using two dice and came up with a 6 and a 7, the highest number that could be achieved is 76. Similarly, if a child was using three dice and the numbers rolled were 4,6 and 8, then the highest number possible would be 864. Once players have come up with the highest number they think is possible, the dice are then passed to the next player with the invitation of 'Beat That! Children play in rounds, with a winner being declared at the end of each round. If attempting to score the highest number becomes a little repetitive, then why not consider changing the rules round, like attempting to reach the smallest number possible. After writing the algorithm you are them to implement the algorithm in code. You must use the Dice and Player objects when implementing this algorithm. You can use the Dice and Player classes that were written in class, or use your own Dice and Player classes. You can ask the user how many players there will be playing the game. The last player should be the computer. You should keep points for each player and ask if they would like to play again after the round is over. Output the total points after each roundStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started