Skip to content

masahiro-kubota/number-guessing-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Number Guessing Game

  1. The program randomly choses a secret number between 1 and 100
  2. The player can input a number at most 7 times
  3. The player inputting a number, the program serve the following hint
    • If the input number is smaller -> "Go higher!"
    • If the input number is bigger -> "Go lower!"
    • If the input number is getting closer -> "Getting closer!"
    • If the input number is getting farther -> "Getting farther!"
  4. The end of the game
    • On success: You'll see a congratulatory message with your attempt count and completion time.
    • On failure: You'll see the correct number.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published