Question: Create a full Yahtzee game in JavaFX. output something like below 1. user clicks on a specific location such as a button or image to

Create a full Yahtzee game in JavaFX.

output something like below

1. user clicks on a specific location such as a button or image to roll dice instead or rolling on its own

2 . all dice that are not held to be rolled out of the 5 dice on the screen

.3Now when dice are clicked on they will either gain a border around them to show they are held OR if they are already held, the border will be dropped

4. there should be 10 rounds

5.user gets to roll 3 times each round

6.record top scores in file

The following are requirements upon run:

- Does the program output the information correctly and is the information complete and accurate

-Roll data must be stored in some construct (arrays are one option, but others are available)

- Score data per round must be stored in some construct (arrays are one option, but others are available)

-Remember to check all input for validity

-Comment the code throughout the program properly

-Proper utilization of Functions

- Proper utilization of Classes and ObjectsDon't do everything from the same class or simply run it all from main

-It is expected that you will create a new object for each game

-When the program is first opened the high score file must automatically be loaded

-Be sure to handle incidents where the save file is missing.

-The data input from the file must be loaded into your arrays or storage structure so that it will not be overwritten when a new score is added.

-After a session is over, the high score file must automatically be saved

-When data is written, all changes MUST be written to file.

-This must be able to be re-loaded upon next program start

-no data can be lost between game plays

-After each game if the score is in the top 10, the user should be prompted for their name and this information with their score should be stored in the save file

-All rules previously established for the play style and scoring are still in effect

-Ensure there is a user friendly way to have the player "hold" the dice for each roll that they can

-Be sure to use clear messages to guide the user in how to use your interface.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!