trrapp12 / slap-happy Goto Github PK
View Code? Open in Web Editor NEWGame of Hangman built with JavaScript. Correctly applies functions, conditionals, loops, arrays. Properly sequences JavaScript statements. Changes the DOM based on application state (win/loss, valid/invalid guess). Selects a random word from a dictionary of words. Displays all previous guesses on the user's screen, a visual indication for each letter's placement in the word, and the number of turns remaining. Decrements the number of turns remaining. Includes a GitHub Repo url, containing an index.html, one or more CSS files, one or more JavaScript files (e.g. js/main.js).