Question: C++ programming Let's play Jeopardy Dice The project's objective is to create a very simple Jeopardy Dice game in which one player (the user) competes

C++ programming  C++ programming Let's play Jeopardy Dice The project's objective is to

Let's play Jeopardy Dice The project's objective is to create a very simple Jeopardy Dice game in which one player (the user) competes against the computer to reach 100 points. Each turn, the player (or the computer) repeatedly rolls a die until either a 1 is rolled or the player holds and scores the sum of the rolls (i.e. the turn total). At any time during a player's turn, the player is faced with two decisions: roll -If the player rolls a 1: the player scores 1 point and it becomes the opponent's turn. 2-6: the number is added to the player's turn total and the player's turn continues. o hold-The turn total is added to the player's score and it becomes the opponent's turn. . Implement a game of Jeopardy Dice where the user plays against a computer player that rolls until a 1 is rolled, or the turn total is greater than or equal to 25, or the score plus the turn total is greater than or equal to 100. The player who takes the first turn in the game is chosen randomly Requirements: 1) Your program should contain at least three functions. 2) Your program should interactively display the player and the computer's choices, the dice rolls, the running turn total and the running score after each turn. Note: don't rush into coding. Come up with an algorithm first. Then figure out what variables you would need, what functions can you create and what would be the necessary inputs to these functions and what would they return. The more time you spend on the pseudocode part, the easier it would then be to write a good solution

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!