Brainlag
  1. Library
  2. Examples
  3. Web

Whack-a-mole with a timer

A complete little DOM game: a grid of holes, a mole that hops around, a score, a 20-second countdown and a high score.

Web20 minPremium

Code editor. Press Control or Command plus Enter to run the code. Tab indents; to move focus out of the editor, press Escape and then Tab.