hello im new here
and im having problems with this objective.....
here is the instruction.....
General Specification:
Create a game that asks for a player’s name and then shows scrambled letters. The objective
for the game is for the player to guess the unscrambled word. A user is given 2 minutes to guess the
word and the user is given points in the following manner.
• 100 points: if the player guessed the word in the 1st minute.
• 50 points: if the player guessed the word within the succeeding minute.
The player has the option to keep scrambling the letters of the word to be unscrambled
either by clicking the button on the game’s interface or by pressing the spacebar of the keyboard.
This game ends when the player was not able to guess the word within the allowable time or if the
user was able to guess all the words in this game’s list of words to be guessed.
Name and score of the player is shown in the game’s interface if the player beats the current
highest score (the game’s highest score and scorer are shown with 0 and blank, respectively when
the game is first executed).
Detailed Specification:
o The program must read a text file containing 100 words with the following information for
each of the words:
The word (comprising 5 to 7 letters)
The classification of the word: noun, verb, or adjective
Definition of the word
Note: Just choose one classification/definition for the word if it has more than 1
definition.
o You are to use an ArrayList object to store the words read from the file.
o When running the program, the program must jumble all the 100 words before showing the
first word to be guessed. Note also that the jumbled letters of the word are shown to the
player.
o Your game’s interface should provide for the jumbling the letters of the word being guessed
through a button or by pressing the space bar.
o The time remaining for the player to guess must also be shown (starting with 2 minutes
[2:00]).
o When the first minute has elapsed and the player has not yet guessed the word, the word’s
classification (noun, verb, or adjective) is shown together with the definition of the word to
serve as a hint.
o Be creative in creating your game’s interface.
o Make sure that your project’s game interface (GUI) shall utilize a logic class that has the
direct access to the text file.
how do u use the Timer class for this activity?
if im in the wrong thread.....
jst tell me where should i place this thread to ok?.......
ur help is most appreciated......
thanks.......