Hangman JavaScript
Hangman JavaScript is a browser-based Hangman game built with plain HTML, CSS, and JavaScript.
The game picks a random word and shows its hint. The player guesses one letter at a time; each wrong guess adds to the hangman drawing, and six mistakes end the round. A result overlay announces a win or loss and offers a replay.
Purpose
- Practice DOM manipulation and game state in vanilla JavaScript
- Build a complete interactive game without frameworks
- Style the interface with Sass
Features
- Random word selection with a hint for each word
- Letter-by-letter guessing
- Hangman image that updates with each mistake
- Six incorrect guesses before the game ends
- Win/lose overlay with a replay button
Scope
- Static, single-player game with a built-in word list
- No build step, backend, or score persistence