This is a cinema-themed hangman web app that pulls words to guess from text file.
Game accessible here.
On page load, the game chooses and encodes a randomly selected word from the text file of movies. The user can start to play the game by pressing keys. If the user guesses a correct letter, the number of guesses stays static and the guessed letter appears in the encoded word. If the user guesses an incorrect letter, the number of guesses goes down. If the user finishes the word, they are congratulated, and can press any key to generate another word to guess. If the number of guesses run out, the answer is revealed and the user can press any key to generate another word to guess. The game goes on indefinitely until the user decides to close the web app.
- Bootstrap - Framework used
- Javascript
- HTML5
- Kathleen Doviken - Initial work - kathdovi
- Thank you to Mike Scott for the Hangman text file