Answer:
What advantage does the computer have in this game?
The computer's throw must be beaten by the player. In case of a tie, the computer wins the round.
What advantage does the player have in this game?
The player can select from a uniform distribution (one 11-sided die) or a non-uniform distribution with 6-7-8 the most common outcomes (two regular dice). Is this enough to overcome the computer's advantage? Play the game and see!
Flow Chart
Here is the main logic of the program. Study how it implements the rules of the game. Some additional details are needed for some of the steps. The "Player's Toss" box, for one, needs to implement the details of giving the player a choice of dice and then throwing that choice.
QUESTION 18:
How many random number generators are needed for this program?