Question: Using Python. Write a program to play dice poker. The basic rules are as follows: 1. You have 5 die 2. After the first roll,

Using Python.  Using Python. Write a program to play dice poker. The basic
rules are as follows: 1. You have 5 die 2. After the

Write a program to play dice poker. The basic rules are as follows: 1. You have 5 die 2. After the first roll, you select which die you want to keep (none to all) 3. You roll only those die not selected to keep 4. After this 2nd roll, you evaluate your hand as follows: 1. 5 of a kind, +30 2. 4 of a kind, +20 3. 3 of a kind and a pair (full house), +12 4. 3 of a kind, +8 5. straight (5 numbers in a row), +20 6. two pair, +5 7. one pair, +2 8. garbage, -4 5. You should have a way for the user to quit or continue 6. You need to keep track of the user's score (which should start at 0)

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!