← Games
🪵
Word Guess (Hangman)
Guess the hidden word one letter at a time before you run out of tries.
🟢 EasyDifficulty
1-2 hoursTime
Python, JavaScript, TypeScriptLanguages
What you're building
The classic word-guessing game: a hidden word shows as blanks, you guess letters, correct guesses fill in the blanks, and wrong guesses cost you one of your 6 tries.
What you'll unlock 🔓
You'll need
- Basic JavaScript
- A code editor
- A browser
🗺️ Build roadmap
01 Setup
→
02 Pick a random word and mask it
→
03 Build an on-screen keyboard
→
04 Handle guesses
→
05 Track wrong guesses
→
06 Detect win/lose
🔒
Log in to start building
Your first project is free -- create an account to unlock it.
Log in Sign up free