- int count_timer = 0;
- int max_time = 60;//one minute
- int user_score = 0;
- int first_number = 0;
- int second_number = 0;
- int user_guess = 0;
- int correct_answer = 0;
- int max_number_of_questions = 10;
- int number_of_answered_questions = 0;
- String beep = "beep.wav";
- String music = "music.mid";
- String score = "score.wav";
-
feel free to change the music and sound effects
-
music will start playing inside formWindowOpened() method. This is called
-
when the game window is opened
- Let Quit menu button close the application
- disable guess button when time is up (use setEnabled(false) method on the button) and enable it when game start button is clicked
- Rename ALL variable names of swing components, e.g labels, button, textFields etc
- Create Another GUI using JDialog called HelpDialog similar to AboutDialog
- Give the dialog a title of 'Help' and use specifications for AboutDialog(font size etc)
- Use labels to describe how the game is played
- Use serif font for your descriptions
- Add a close button similar to the one in AboutDialog and make the click action close the dialog
- When the user clicks Tutorial under help menu, let it open HelpDialog (see how AboutDialog opens)
-
Package application using launch4j
-
Add splash screen and use YOUR OWN icon and image
-
add any image from google for your splash screen
- Push your project to github (15 points)
- detail your github project (15 points)
- submit your github link by Friday 17th (August) 2018
- late submissions will not be accepted