Skip to content

t-tsuya/guess-number-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

guess-number-game

This project is motivated by a Recursion's course.

Guess the number the "lier" computer randomly generated!

  1. To begin the game, you firstly give two integers a and b as inputs.
  2. The computer randomly generates an integer x such as a <= x < b.
  3. You guess the number.
  4. If it is correct, you win! The score is the number of times you answered.
  5. If it is wrong, the computer gives a hint that "x is more than or equal to your answer" or "x is less than your answer".
    BE CAREFUL! The computer LIES with a 20% probability!

About

Guess the number the "lier" computer randomly generated!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published