Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

python coding question Bunco is a dice game. This version has 2 players who take turns rolling 3 dice with 6 sides each. * The

python coding question

image text in transcribed

Bunco is a dice game. This version has 2 players who take turns rolling 3 dice with 6 sides each. * The first player who reaches (or goes over) 21 wins. There is a "match number which starts at 1 If a player rolls the same number on all three dice and that number also is equal to the match number , that is a Bunco ey get 21 points from that roll and win! If they roll 3 numbers that are all the same but do NOT match the match number, that is a "mini-Bunco" and they get 5 points If neither of those cases hold if they roll any matches of the match number , they get point for each to l tal matches. A player can keep rolling the 3 dice until either they win (get 21 or over) or they don't score any points at all If they don't score any points, then the other player gets to roll under the same rules. After both players have had a chance to roll, then the "match number" increases by 1. So the next round, both players are trying to match 2. When the "match number" goes to 7, it goes back to1 (since no player can roll a 7 on a single 6-sided die!) Bunco is a dice game. This version has 2 players who take turns rolling 3 dice with 6 sides each. * The first player who reaches (or goes over) 21 wins. There is a "match number which starts at 1 If a player rolls the same number on all three dice and that number also is equal to the match number , that is a Bunco ey get 21 points from that roll and win! If they roll 3 numbers that are all the same but do NOT match the match number, that is a "mini-Bunco" and they get 5 points If neither of those cases hold if they roll any matches of the match number , they get point for each to l tal matches. A player can keep rolling the 3 dice until either they win (get 21 or over) or they don't score any points at all If they don't score any points, then the other player gets to roll under the same rules. After both players have had a chance to roll, then the "match number" increases by 1. So the next round, both players are trying to match 2. When the "match number" goes to 7, it goes back to1 (since no player can roll a 7 on a single 6-sided die!)

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

Step: 3

blur-text-image

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

Database Machine Performance Modeling Methodologies And Evaluation Strategies Lncs 257

Authors: Francesca Cesarini ,Silvio Salza

1st Edition

3540179429, 978-3540179429

More Books

Students also viewed these Databases questions