Live Link: https://terrencemm2.github.io/Hangman/
The purpose of this project is to demonstrate the fundatmental concepts of Javascript such as using/reading arrays, initializing/calling functions, and utliizing for-loops and if/else statements.
- To begin, click "Start Game!".
A random word will be generated and blanks shown to guide the user as to how many words and/or letters remain. - Using the keyboard, select an alpha character.
If a non-alpha character is selected, a warning message will be displayed; a guess will not be duducted.- If the letter is contained in the word, the letter(s) will be displayed in the appropriate space.
- IF the letter is not contained in the word, the letter will be added to the "Guessed Letters" secion and a guess deducted.
The game will not allow the user to select a repeat character, whether correct or incorrect.
- You have 5 incorrect guesses allowed.
HINT: Popular Nashville landmarks/locations. - After winning or losing the round, click "Start Game!" again to start a new round and generate new word.