Question: Write a Menu class that runs 6 game classes. The Menu class has three methods: One for introducing the games program to the client, one
Write a Menu class that runs 6 game classes. The Menu class has three methods: One for introducing the games program to the client, one that reads the input guaranteeing that the input is between 1 and 7 inclusive, and one for printing the menu. Please use a switch statement to choose one of the 7 choices, and a while loop to allow the client to continue playing games if he wishes. Create 6 more classes that are stubs of the six games that you will write as solutions for the next six projects. These stubs can be called from the Menu program, and can be used to test the syntax of the Menu program. Once the Menu program is written and debugged you can start replacing each stub with a game that satisfies the next 6 projects. The starter solution of this project is on my website and is found atRandom Number Games. (Put Franssell in google and my website is the first thing that comes up.) Please download the filesSample Menu which has the demo program called GameMenu, and Sample class called from main which has the class called DescriptiveClassName. They form a working program that you will expand to satisfy this project. After you have download them,create a Java Project with these two files. Run the Demo and study the code to see how these two classes work together. Create additional copies of DescriptiveClassName, changing the name of each copy to reflect the names of the projects that follow. The first name could be PrintRandomChart, the next could be DiceFaceInARow. There will be six game names that you will need.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
