When the green flag is clicked, the program chooses a random number between 1 and 10. Then, the player has three chances to guess the number. If their answer is incorrect, the program tells them if it is too high or too low. If their answer is correct, the program displays a win screen. If they incorrectly guess three times, they are shown a lose screen.
hi