Create a simple Yahtzee game in Java(NO GUI -consoleonly).
-It should also record top scores in a txt.file thatdisplays when user starts game and if they get a highscore it savesthe score number and the score hand they got back into the txtfile.
– have an additional file to store play datafrom the last 10 games.will be called score.dat” and will store asummary of the play from previous games
Requirements
public yahtzee(){//This constructor will initialize your 5 x 3 array and set it with empty values, in this case 0
Functions
Main
This function will call the menu.
Menu
The menu will prompt the user if they want to
PayPal Gateway not configured
PayPal Gateway not configured