Guess The Number
Write a guessing game where the user has to guess a secret number. After every guess the program tells the user whether his number was too large or too small. At the end the number of tries needed should be printed. It counts only as one try if the user inputs the same number consecutively.
- Allow the player to restart the game on success
- Keep a score or count of tries.