Question: CREATE A PROGRAM IN PYTHON !!!! You are playing a dice game with your friends. Each player rolls the dice eight times. The best possible

CREATE A PROGRAM IN PYTHON !!!!

You are playing a dice game with your friends. Each player rolls the dice eight times. The best possible score would be to roll all the numbers 1 through 6 within those eight dice rolls. You must roll a 1 to start the sequence otherwise you will lose that round.

This program must contain 2 loops and an IF structure.

This program is an example of sequencing.

THE PROGRAM SHOULD DISPLAY:

input () # Enter the number of players

input () # Enter the number of rounds

# You will need to generate a random number between 1 and 6 for each of the eight dice rolls.

First Player

You have rolled......

1 3 3 4 2 1 3 1 #Randomly generated sample

----------------------

Verifying Sequence......

dice roll 1 = 1

dice roll 4 = 2

dice roll 2 = 3

dice roll 4 = 4

----------------------

Score = 4

Total Score = ? #Depending on how many rounds

Second Player

You have rolled......

2 3 3 5 2 1 3 5 #Randomly generated sample

----------------------

Verifying Sequence......

dice roll 6 = 1

dice roll 1 = 2

dice roll 2 = 3

----------------------

Score = 3

Total Score = ? #Depending on how many rounds

Third Player

You have rolled......

2 6 3 5 2 4 3 5 #Randomly generated sample

----------------------

Verifying Sequence......

0 points this round

----------------------

Score = 0

Total Score = ? #Depending on how many rounds

First Player has won the game ! #This is an example of only one round played

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!