Question: This is a dice game (each roll uses four die = 4 dice) that you are going to create in the command line console. The
This is a dice game (each roll uses four die = 4 dice) that you are going to create in the command line console. The rules are as follows: A new player begins with his first dice roll (4 die = 1 set of dice). This is known as the "starting roll." If the player rolls a 9, 11, 18, or 24 the player wins. If the player rolls a 6, 12, 13, 17, 19, or 23 the player loses. If the player rolls any other number, the "starting roll" becomes the "goal number." The player must continue to roll the dice until either one of two things happens: The player rolls a 13, and he loses. The player rolls the "goal number" again, and he wins.
You should create a high-level electronic flowchart for the program (an activity 2 level program). You can create it in Word using drawing tools, or you can create it using pencil and paper and creating a .jpg graphic file out of it. Only a .docx or .jpg flowchart file will be accepted. Be sure to use standard flowchart symbols - make use of these (remember they are shown under week 1): Start & End Terminators (Required) Decision Nodes (Required) Process Nodes (Required) Manual Input Nodes (Required) Flows / Arrows (Required) On/Off Page References (Optional) Remember: Flowcharts should be linear (read like a newspaper column) If you need to go to the next "column" use the on page connector as seen in example 3 All flows should have direction (an arrowhead) to show movement from one node to another All nodes should have exactly one flow coming out of it, exception diamond decision nodes, which should have exactly two flows coming out of it You should always start with a terminator oval node, and end with at least one terminator oval node The boolean decision expression should be inside the diamond decision node, not on the flow coming out of it. The flows coming out of it should be either 'true' or 'false'. In Java.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
