121,777 views
38 votes
38 votes
Bunco is a dice throwing game that requires no decisions to be made or skill on the part of the player just luck. In the simplest form of the game there are six rounds, progressing in order from one to six, where the number of the round serves as the target for that round's rolls. Within a round, players alternate turns rolling three dice aiming to obtain the target number. Players gain one point for each die matching the target. If the player gets three-of-a-kind of the target number (a Bunco), they get 21 points. Write a program to simulate two players playing a round of Bunco showing the dice throws and scores during the games as well as the final scores and the player with the highest score. Also indicate which winner won the most rounds

User AdrianCooney
by
2.6k points

1 Answer

19 votes
19 votes
Abcdefghijklmnopqrstuvwxyz now I know my abcs, next time won’t you sing with me :)
User Bhavik Hirani
by
2.9k points