Back to works
PlateVII

Tap the Black Tiles

A small reflex game that runs in the browser.

Role

A team project with Adil Eren and Mert, no AI involved. I made the scoring, the new-record animation and the start screen.

Stack

HTMLCSSJavaScriptDOM APIlocalStoragecanvas-confetti

Overview

A small reflex game that runs in the browser. Three black tiles sit on a 4x4 grid, and you have ten seconds to tap as many as you can. The quicker you tap, the more each one is worth. We made it for CTIS255.

What it does

  • A start screen with the three of us, then a 3-2-1 countdown
  • A small +points pop-up on every hit, and a bar that shrinks while you hesitate
  • Confetti when you beat your best score

Screens

Start screen
Mid-round
A new record
The record, still there after a refresh

Start screen

Technical notes

  • Each tap is worth up to 10 points and loses one for every tenth of a second you wait, so after a full second it's worth nothing.
  • There's no framework. The grid, the tiles and the timers are plain JavaScript, and the best score is saved in localStorage, so it's still there after a refresh.

What I learned

This is where I learned to use GitHub.