Word-Guess-Game

Pesudo-code (JavaScript)

  1. create a list of words
    • array
  2. create a list of hints corresponding to the words
    • turn 1+2 into object?
  3. randomly picks words
    • Math.Random
  4. create underscores based on length of word
    • for loop
  5. get user input
    • user can use keypress
    • instead of listing out the used letters, make used letter unclickable (with visual)
    • eventListener?
  6. convert user input to all caps
    • toUpperCase
  7. check if user guess is correct
    • indexOf?
  8. push
    • if,else?

Research

  • object
  • event listener
  • audio