The Word Guesser

You'll create a simple word guessing game where the user gets infinite tries to guess the word (like Hangman without the hangman, or like Wheel of Fortune without the wheel and fortune).

  1. Create two global arrays: one to hold the letters of the word (e.g. 'F', 'O', 'X'), and one to hold the current guessed letters (e.g. it would start with '_', '_', '_' and end with 'F', 'O', 'X').
  2. Write a function called guessLetter that will:
  3. Pretend you don't know the word, and call guessLetter multiple times with various letters to check that your program works.
  4. Bonus: Make it more like Wheel of Fortune:
  5. Bonus: Make it like Hangman: