Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

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,

Using Python. image text in transcribed
image text in transcribed
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

Step: 1

blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Intranet And Web Databases For Dummies

Authors: Paul Litwin

1st Edition

0764502212, 9780764502217

More Books

Students explore these related Databases questions