Question: Coding a dice game in Java. How do you code that image? Round 1 Score: 00 Player 1 , it is your turn. You rolled

Coding a dice game in Java. How do you code that image?
Coding a dice game in Java. How do you code that image?
Round 1 Score: 00 Player 1 , it is your turn. You

Round 1 Score: 00 Player 1 , it is your turn. You rolled a 6 . You have 6 points. Keep going? (y) n Score: 60 Player 2 , it is your turn. You rolled a 3 . You have 3 points. Keep going? (y) y You rolled a 5 . You have 8 points. Keep going? (y) Play: A new round begins. Player 1 rolls a single six-sided die. If they get a 1 , their turn is over. Otherwise, their roll is added to the number of points they've accumulated in the current round. After each roll, Player 1 can either stop and keep the points they've accumulated, or roll again to try and accumulate more points. If they ever roll a 1, their turn ends, they lose all the points they've accumulated this round, and Player 2 gets to start rolling the die

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!