Hi-Lo Guessing Game

Description

Create an Hi-Lo guessing game. The computer starts by choosing a random
number from 1 to 100 and gives the user opportunity to guess that
number. After each guess, the computer should respond with “Too low,”
“Too high,” or “You guessed it.” Include a counter so the user always
knows how many times he has guessed.

Start with an algorithm written in pseudocode and turn it in
(handwritten is fine) on paper before beginning computer design.

Important features

  • Change event clears message
  • If…Then…ElseIf statement
  • Randomize, choose random number
  • Guess counter
  • Two global variables (secret number, guess counter)
  • Default and Cancel properties set appropriately
  • Proper indents, spacing, comments

Example