Introduction - If you have any usage issues, please Google them yourself
Programming, project name and the class name are GuessNumberGame.
Every game program randomly generates an integer between 0-9, requires players to enter their guess numbers, and the user to enter numbers to check the following tips:
If you guess right, the prompt: Congratulations, you guessed it. The end of this game.
If you guess wrong, you are prompted: You guessed numbers too (big or small) a. Require the user to continue to guess.
If you have not guessed it three times in a row, the system prompts: The game failed.
When the end of the first game, the user is prompted whether to continue a new game, if the user chooses to continue, then start a new game once, otherwise the output: XXX times you conducted the game, success XXX times, failed XXX times. Then run the program ends