Whack-a-Mole– OOP JavaScript Game

Click the moles or press number keys (1–9) to score.

  • Multiple mole types, power-ups, combo system
  • Score points, lose lives for misses or bombs
  • Increasing difficulty over time
  • Fully OOP Game

Lesson for Game

Information:

  • 🟒 Green Mole (Normal): +10 points. Lose 1 life if missed.
  • 🟑 Golden Mole: +30 points. Lose 1 life if missed.
  • πŸ”΄ Red Bomb: -1 life if hit. Safe to ignore.
  • 🌸 Pink Power-up (Double): Double points for 5s.
  • πŸ”΅ Cyan Power-up (Life): +1 life.