Guess the number. You have three tries!
In this game the computer selects a random number between 1 and 10, inclusive. The user is then asked to guess that number. The user has a maximum of 3 attempts. The user gets a message each time the guess is either correct or incorrect. If the user guesses the correct number at any time before the 3 attempts are used up, the game ends.