Whack-a-Mole

Tap the moles before they duck. 30-second pointer-only arcade game.

Tap the moles before they duck. 30-second pointer-only arcade game.

Loading…
$ npx shadcn@latest add https://gamekitui.com/r/whack-a-mole.json
dom DesktopMobile
Keyboard
Mouse
Touch

Click or tap the moles before they disappear.

Theming

This is a DOM game. Its playfield is driven by your shadcn --primary, --secondary, and --accent tokens via Tailwind token classes, so it recolors automatically. Change your theme and Whack-a-Mole recolors with it. Try the Customize button in the corner.

Install

npx shadcn@latest add https://gamekitui.com/r/whack-a-mole.json

The game ships as a single drop-in file. It fills its container, so wrap it in any sized element:

<WhackaMole className="mx-auto w-full max-w-sm" />