← Games
🔨
Whack-a-Mole
Test your reflexes against a grid of randomly popping moles.
🟢 EasyDifficulty
1-2 hoursTime
JavaScript, TypeScriptLanguages
What you're building
A classic reaction-speed game: moles pop up randomly across a 3x3 grid of holes, you click them before they disappear, and a 30-second timer tracks your final score.
What you'll unlock 🔓
You'll need
- Basic JavaScript
- A code editor
- A browser
🗺️ Build roadmap
01 Setup
→
02 Build the hole grid
→
03 Make moles pop up randomly
→
04 Handle whacking
→
05 Add the countdown timer
→
06 Add difficulty ramp-up
🔒
Log in to start building
Your first project is free -- create an account to unlock it.
Log in Sign up free