Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored 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