Class exercise: a word game using constructors, node.js
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
LICENSE
README.md
index.js
letter.js
package-lock.json
package.json
word.js

README.md

Constructor-Word-Game

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.