Question: 1. Write a Guessing Game. In the game, the user will guess a number. a. In the StartGui, the use needs to choose a difficulty

 1. Write a Guessing Game. In the game, the user will

1. Write a Guessing Game. In the game, the user will guess a number. a. In the StartGui, the use needs to choose a difficulty level: Easy or Difficult. If easy level is selected, the user will guess between 1 and 10. If difficult level is selected, the user will guess 1 and 100. Then the user will click start button and go to the GamePage b. In the GamePage, the user will enter his/her guess in a textfield. The interface will give a hint to the user that the user needs to guess a higher or lower number and allow the user to enter a new guess. The user has a maximum of ten tries. You need to display number of tries left. There is a button "Give UP". If the user clicks Give Up or the user reaches tries limit (10 times, i.e the user can only try 10 times for each number), the answer will show up in a new Window (a new swingGUl frame. If the guess is correct, the new window will tell the player that he/she is right. The player can choose to play again from the StartGUI

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!