Question: code in java, 2 players, 1 dice . each player rolls as many times in one round. if he gets a 1 he losses the
code in java, 2 players, 1 dice . each player rolls as many times in one round. if he gets a 1 he losses the points accumulated in that round and the turn goes to the next player , otherwise point keep adding up and who ever gets a 100 first ,wins. player has an option to hold if he doesn't want to risk getting a 1 and losing the points, turn goes to the other player.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
