Our project is to create the game of Bunco. Bunco is a family -friendly dice game that requires no skill and is all luck. The two- player game is played with three dice and consists of six rounds. Each round will have a target value-e.g., first round has target value of one, second round has target value of two. During a round, all players take turns rolling the dice until one of the players has 21 points. A player's turn consists of rolling the three dice together. For each dice that is the target value, the player gets one point added to his/her round score. An exception to getting one point for each dice that is the target value is if all three dice are the target value; this is a Big Bunco and is worth five points. A player's turn continues until he/she rolls the dice and none of the dice are the target value. In addition to getting points when rolling the target value, if all three dice have the same value (that is not the target value) then this is a Little Bunco, which is worth three points but ends a player's turn.
Prompts for name of players in a Text-based setting. Asks players to type "roll" to start their turn. Outputs their name, the values of the three dice, their score for the round and their score overall.
Then the next player is prompted and must type "roll." This continues until one person reaches 21 and wins. The target value must start at one and inc rease by one every round until round seven which it
must start back at one. Players must get extra points in certain conditions such as rolling all three of the target value or rolling all three of the same number on the dice. The dice values must be
Player name: (name) roll: "roll"
Player name: (name) rolled: Die 1: # Die 2 : # Die 3: #
The score for this round is: #
The total score is: #
The PROGRAM NAME program will be executed as follows
csc$ java Bunco
PROVIDE INFORMATION ABOUT EACH CLASS USED IN YOUR PROJECT AND HOW THE CLASSES ARE RELATED.
PROVIDE ANY SIGNIFICANT DETAILS RELATED TO THE IMPLEMENTATION
The code for the classes used in the project is provided below: REPLACE FILE NAMES BELOW WITH ACTUAL CLASSES, ADDING/REMOVING CLASSES AS NECESSARY
PROVIDE ANY NECESSARY INFORMATION ABOUT TESTING YOUR PROGRAM
The Black Box Test Plan was used to test the PROGRAM NAME program.