Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Dice game for 2-8 players Game Play Each player takes a turn which involves one or more rolls of a set of three dice. The
Dice game for 2-8 players Game Play Each player takes a turn which involves one or more rolls of a set of three dice. The player earns points for each roll based on scoring table below. Player may continue to roll and accumulate points as long as they choose. When a player chooses to stop, all accumulated points are added to their score, and play passes to the next player. However, if the player rolls two of a kind (but not three of a kind), all accumulated points are lost, the player's score remains unchanged, and play passes to the next player...this is Double Drat! Play continues until the any player wins by earning a score of at least 100. The point value of each roll is as follows: Roll Three of a kind (triples) Any roll with three different die Example Points 30 20 values Two of a kind (Double Drat!) TIP: This may look overwhelming at first glance. Build and test one part of the application at a time. Verify that it works properly before adding the next part. This will keep you from getting overwhelmed. Treat each of the methods as a standalone discrete function
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started