A game that creates a random number and asks the player to find it.
This game allows user to play between 3 level of difficulties, plus one custom :
- Easy (from 1 to 100)
- Medium (from 1 to 1000)
- Hard (from 1 to 10,000)
- Hardcore (from 1 to 1,000,000)
- Custom (allows player to set min and max values for the radomized number)
- The computer choose a random number, then
- It asks player to type a number
- It says if the choosen number is higher or lower than random one (gives hint)
- loops from 2. until the choosen number is the same as the radom one.
- A victory sentence is displayed, followed by the number of tries needed to success.