- All Implemented Interfaces:
Game
This is a little guessing game that counts the number of times it
takes the user to guess a number between one and ten.
-
Constructor Summary
Constructors
-
Method Summary
Returns the name of the game/
static void
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Details
-
getName
Description copied from interface: Game
Returns the name of the game/
- Specified by:
getName
in interface Game
-
play
Plays the game
- Specified by:
play
in interface Game
-