Question: Using Python. Write a program to play dice poker. The basic rules are as follows: 1. You have 5 die 2. After the frst roll,
Write a program to play dice poker. The basic rules are as follows: 1. You have 5 die 2. After the frst 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 numbdrs 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
Get step-by-step solutions from verified subject matter experts
