List Guessing Game

From WLCS

Objective:

  • Create a game that uses lists to choose a random word, which the user must guess

Directions:

  • At the very top of the program, create a list of 20 strings
    • Dim the variable outside, at the top of the program, but populate the list in the Form_load area
  • At the very top of the program, create an integer variable
  • When the form loads, generate a random number from 0 up to 20 and store it in the integer variable that you created before
  • Your form should have a label that displays all the possible words
  • Your form should also have a textbox that lets the user type in a word
  • The form's only button submits the users guess
    • Check of the user's guess matches with the randomly chosen word
  • Keep track of the number of guesses that the user makes