Question
Create this game below using Java. The game of SKUNK presents middle-grade students with an experience that clearly involves both choice and chance. SKUNK is
Create this game below using Java.
The game of SKUNK presents middle-grade students with an experience that clearly involves both choice and chance. SKUNK is a variation on a dice game also known as "pig" or "hold'em." The object of SKUNK is to accumulate points by rolling dice. Points are accumulated by making several "good" rolls in a row but choosing to stop before a "bad" roll comes and wipes out all the points. SKUNK can be played by groups, by the whole class at once, or by individuals.
The Game of SKUNK
To start the game each player makes a score sheet like this:
Each letter of SKUNK represents a different round of the game; play begins with the "S" column and continue through the "K" column. The object of SKUNK is to accumulate the greatest possible point total over five rounds. The rules for play are the same for each of the five rounds.
- At the beginning of each round, every player stands. Then, a pair of dice is rolled. (Everyone playing uses that roll of the dice; unlike other games, players do not roll the dice for just themselves.) - A player gets the total of the dice and records it in his or her column, unless a "one" comes up. - If a "one" comes up, play is over for that round and all the player's points in that column are wiped out. - If "double ones" come up, all points accumulated in prior columns are wiped out as well. - If a "one" doesn't occur, the player may choose either to try for more points on the next roll (by continuing to stand) or to stop and keep what he or she has accumulated (by sitting down).
Note: If a "one" or "double ones" occur on the very first roll of a round, then that round is over and each player must take the consequences.
Very Important: Make the player chooes how many players he wants to play against, and also how many dices he wants to choose.
Here is the website if you want further information: http://illuminations.nctm.org/Lesson.aspx?id=956
Follow the rules above and create the required classes using Java for a good rate. Also be creative!!
It's a console based program
Score Record 10Step 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