Question: Write a Java FX GUI application that plays the game Shut the Box. In the game, the numbers 1 through 12 are initially displayed. The
Write a Java FX GUI application that plays the game Shut the Box. In the game, the numbers 1 through 12 are initially displayed. The player throws two dice and may cover the number representing the total of the dice or the two numbers on the dice. For example, for a throw of 3 and 5, the player may cover the 3 and the 5 or just the 8. Play continues until all the numbers are covered. Note, if every numbered tile higher than 6 is covered, then only one die is used (disable the other die). The goal is to cover all the numbers in the fewest number of rolls. No points awarded - only keep track of the number of rolls. Use appropriate controls as needed. Set the title to Shut the Box, and center the stage on the screen. Place all classes into one file. Dice are provided by link down below. Place all classes into one file. Output should be user friendly.
Name the program: GUIShutTheBoxXX.java, where XX are your initials.
Link for Dice: https://ufile.io/dg7fm
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
