Question: Write a Java Program that will work as a gaming console with at least 4 games on it. Game 1: Rock Paper Scissors Game 2:
Write a Java Program that will work as a gaming console with at least 4 games on it.
Game 1: Rock Paper Scissors
Game 2: Guessing Game
Game 3: A Simple Shop Program
Game 4: A Game of Your Choice
The program will display a menu with each game option above, and then ask the user to enter their choice. There should also be a fifth option to quit, in which case, the program will simply display a goodbye message. Based on the users choice, one of the following games will be shown. Make sure to include proper output in all cases (such as instructions, questions to the user, or directions telling the user to input something specific).
Rock Paper Scissors Game: This game will ask the user to choose either rock or paper or Scissors. The computers choice should be random. Display who the winner is, or if it was a draw.
Guessing Game: In this game, program generates a random number between 1 to 10. The user must then enter a number to guess what the random number was. If the user-entered number is equal to the random number, then the program should print that the user won the game. Otherwise, the user lost the game.
Simple Shop Program : Welcome the user to the shop and prompt the user to choose from the following items:
Coffee $ 1.2 per item
Milk $ 2.2 per item
Chips $ 0.99 per item
Then prompt the user to enter the quantity, then calculate the total price and add 10% Sales Tax to it.
A Game of Your Choice: This option is based on your creativity. For this part of the code, use all the skills you have learned to create a game of your own. This portion will be graded based on effort and use of all concepts (input, output, and conditional statements). A pseudocode for the code is provided to you for assistance. Make sure your code is well commented with well defined steps. You cannot use any sort of Java API methods other than the Scanner for this program. If you do wish to do so, ask your TA and document that method on the header.
Make sure that you are putting all of these games in one project and allowing the user to choose which one to play through user input. Do not use separate classes or projects for each game.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
