- Category:
- Games
- Tags:
-
[Java]
[源码]
- File Size:
- 23kb
- Update:
- 2013-11-04
- Downloads:
- 0 Times
- Uploaded by:
- czf
Description: Programming, project name and class name are GuessNumberGame.
Each game program generates a random integer between 0-9, requires players to enter their guess numbers, and lets users enter numbers to check the following tips:
n If you guess right, the prompt: Congratulations, you guessed it. The end of this game.
n If you guess wrong, you are prompted: Guess the number too (large or small) a. Requires the user to keep guessing.
If you have not guessed it three consecutive times, the prompt: Game failed.
Once the game ends, the user is prompted whether to continue a new game, if the user choose to continue, you start a new game again, otherwise the output: XXX times you conducted a total game, success XXX times fail XXX times. Then the end of the program run.
To Search:
File list (Check if you may need any files):
GuessNumberGame\build\built-jar.properties
...............\.....\classes\GuessNumberGame\CompareNumber.class
...............\.....\.......\...............\CompareNumber.java
...............\.....\.......\...............\GlobalVariables.class
...............\.....\.......\...............\GlobalVariables.java
...............\.....\.......\...............\GuessNumberGame.class
...............\.....\.......\...............\GuessNumberGame.java
...............\build.xml
...............\dist\GuessNumberGame.jar
...............\....\README.TXT
...............\manifest.mf
...............\nbproject\build-impl.xml
...............\.........\genfiles.properties
...............\.........\private\config.properties
...............\.........\.......\private.properties
...............\.........\.......\private.xml
...............\.........\project.properties
...............\.........\project.xml
...............\src\GuessNumberGame\CompareNumber.java
...............\...\...............\GlobalVariables.java
...............\...\...............\GuessNumberGame.java
...............\build\classes\GuessNumberGame
...............\.....\generated-sources\ap-source-output
...............\.....\classes
...............\.....\empty
...............\.....\generated-sources
...............\nbproject\private
...............\src\GuessNumberGame
...............\build
...............\dist
...............\nbproject
...............\src
...............\test
GuessNumberGame