Question: Question: Create Console Yahtzee Java Program with following requirements below: Yahtzee Game 5 X 3 array 1.Contain methods and comments 2.create menu called in main
Question: Create Console Yahtzee Java Program with following requirements below: Yahtzee Game
5 X 3 array
1.Contain methods and comments
2.create menu called in main -ask user if they want to play
3.at end ask the user to start over or quit
4.let user roll die using :
-Generate X random numbers (0 to 5 numbers) with a value range of 1 to 6 and place them in the last slots of the array. X will be determined by how many numbers were held in the preceding roll. If everything was held, no numbers will be generated or if no values were held, then you generate an entirely new set of numbers).
-let user select which value want to hold
5.let user re -roll twice after the first roll -3 rounds
6.Clear Array -At the end of each round you will want to set the values in the array back to 0.
7-label rounds
format:
1 2 3 4 5 (Which die would you like to hold?)
user: 1
1 4 6 7 9 .would you like to re roll (y/n)?)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
