Target Tap Game.
Free to Remix.
Free to Remix.
Free to Remix.
A tiny canvas game: click the targets before the 30-second timer runs out. Open it in NitroIDE and every file is yours to edit — HTML, CSS and JavaScript, running 100% in your browser.
Live Preview
This is the template running right now — interact with it, then hit Open in NitroIDE to edit every line.
What's Inside
Three files, zero dependencies to install. Here's what you get out of the box.
Ready-Made Markup
30-second canvas target-tap game with live score. Semantic, commented HTML you can reshape in seconds.
Styled & Responsive
Hit detection scaled to any screen size. Tweak colors, spacing and layout live with instant preview.
Working JavaScript
Instant restart — no build step, just play. Remix the logic, add features, make it yours.
Use case
Use this template as a tiny playable game or as a starting point for learning canvas games — click the targets before the 30-second timer runs out.
What you learn
What you learn: how a canvas game loop spawns targets, how click hit-detection works on a canvas, how score and a countdown timer are tracked, and how a game restarts instantly with no build step.
Frequently asked questions
How long does a round last?
30 seconds. The timer counts down in the game, and the round ends when it reaches zero.
Does the game work on touch screens?
Yes — taps on the canvas register the same way as clicks.
Can I change the difficulty?
Yes. In script.js, change the timer, the target sizes, or how fast new targets appear.
Keep Exploring
More templates you can open and remix with one click.