Question: Write a program that allows 2 people to play a simple dice game. The game should alternate between players until one of them has won.
Write a program that allows 2 people to play a simple dice game. The game should alternate between players until one of them has won. The rules are as follows:

Project 3.b (65 points) rite a program that allows 2 people to play a simple dice game. The game should alternate between players until one of them has won. The rules are as follows: Each turn, a player repeatedly rolls two dice If no 1s are rolled, the sum of the dice is added to their turn total and the player's turn continues. If a player chooses to "hold", their turn total is added to their score, and it becomes the If a single 1 is rolled, the player scores nothing for that round and it becomes the next . If two 1s are rolled, the player's entire score is lost, and it becomes the next player's next player's turn. player's turn. ?lini.. The first player to score 100 or more points wins. When the game is over, you should print the score for player 1 and player 2, and also print who won You should seed the random number generator using the time) function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
