← Games
🎩
Hangman Hero
Guess the word one letter at a time before the stick figure meets its fate.
🟢 EasyDifficulty
2-3 hoursTime
JavaScript, TypeScriptLanguages
What you're building
A full word-guessing game: a random secret word hides behind underscores, you guess letters via an on-screen keyboard (or your real one), correct guesses fill in the blanks, and wrong guesses draw one more piece of the hangman. Get it wrong too many times and it's game over — guess the whole word first and you win.
What you'll unlock 🔓
You'll need
- Basic JavaScript
- Basic HTML/CSS
- A code editor
- A browser
🗺️ Build roadmap
01 Pick a random secret word and display blanks
→
02 Build a clickable on-screen keyboard
→
03 Handle correct letter guesses
→
04 Handle wrong guesses and track attempts
→
05 Draw the hangman progressively with SVG/CSS
→
06 Detect win and loss conditions
→
07 Add categories and a play-again flow
🔒
Log in to start building
Your first project is free -- create an account to unlock it.
Log in Sign up free