Class exercise: a word game using constructors, node.js
This is a word game.
A word is chosen at random from a list, and the user is asked to guess a letter.
If the letter is correct, the word is displayed with blanks for unknown letters and correct letters filled in.
If the letter is incorrect, the number of remaining guesses is displayed.
The player is then asked to guess another letter. If the word is not guessed within the number of guesses, the player loses.
If th word is guessed within the number of guesses, the player wins.