Question: Game To Program using Python: The game begins with the player having 20 POINTS The player rolls 2 six sided dice and the sum of

Game To Program using Python:

  • The game begins with the player having 20 POINTS
  • The player rolls 2 six sided dice and the sum of faces on the two dice are calculated. That's called the players POINT.
  • If the POINT is a 7 or 11, the player wins his POINT
  • If the POINT is a 2, 3, or 12, the player loses his POINT
  • If the POINT is anything else, then the game continues by the player rolling the two dice again and again recording and checking the sum until
  • The player makes his point (The sum of his dice roll equals his POINT value) and then he wins his POINT
  • The player rolls a 7 and then he loses his POINT.
  • The player is considered a winner if he can acquire 60 POINTS and is considered a loser when he runs out POINTS
  • After the program has finished, display the total number of rolls of the dice that were made in the entire game.

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 Programming Questions!