skip to Main Content

I’m working on a Python question and need an explanation to help me study.There

Please note that this is just a preview of a school assignment posted on our website by one of our clients. If you need assistance with this question too, please click on the Learn More button at the bottom of the page to get started.

I’m working on a Python question and need an explanation to help me study.There are 5 rounds in a game. In each round, each player rolls the two dice. The rules are: The points rolled on each player’s dice are added to their score.
If the total is an even number, an additional 10 points are added to their score.
If the total is an odd number, 5 points are subtracted from their score.
The person with the highest score at the end of the 5 rounds wins.
If both players have the same score at the end of the 5 rounds, they each roll 1 die and whoever gets the highest score wins (this repeats until someone wins).
You must use the following techniques:A subroutine to display the number rolled on the dice, for example if the player rolls 5 then the ASCII art Write a program that will output the number 5 on a dice like this:
ooooooooooooo oo # # oo # oo # # oo ooooooooooooo

Get Help Today

Struggling with this particular assignment? Learn how our team of professional writers can help you today.

Leave a Reply

Your email address will not be published. Required fields are marked *