Pig is a two player game where the players take turns


Question: Prepare a Java program to play Pig.

Pig is a two player game where the players take turns repeatedly rolling a single 6 sided die. A player repeatedly rolls the die until one of two events happen:

Either the player chooses to stop rolling, in which case the sum of that player's rolls are added to his total points; or if the player rolls a 1 at any time, all points for that turn are lost and the turn ends immediately. The first player to reach a score of at least 100 wins.

I am having difficulty with this program because I do not know where to implement this game.

 

 

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: Pig is a two player game where the players take turns
Reference No:- TGS0954823

Expected delivery within 24 Hours