04 / 07

Rimshot

A one-thumb street-court shooting game for the web. Flick the ball, you get 60 seconds, and a swish is worth two.

Role
Design and engineering
Year
2026
Stack
TypeScript, Vite, Canvas, Web Audio
Link
play-rimshot.vercel.app
Rimshot start screen on a street court
The start screen, with the music tuner under the play button.

A basketball game that works with one thumb and no instructions. You flick the ball, you get 60 seconds, a swish scores 2 and any other make scores 1. The clock starts on your first shot, and a shot still in the air at the buzzer counts.

The ball is a small 3D simulation running at a fixed 240 Hz step, so the same flick produces the same shot on any device and any frame rate. A basket counts only when the ball centre crosses the rim plane downward, inside the ring. Crossing upward voids the shot, and each shot can score once.

Aim is screen-space: where your flick line meets the rim on screen is where the ball arrives at hoop depth, whatever the power. Power is the only other thing to learn. The scoring rules have their own tests.

Every visual is drawn with canvas, CSS and SVG, and every sound is synthesised at runtime with Web Audio, so there are no image or audio files to license or fail to load.

The music is an adaptive four-layer sequencer playing five original stations: Blacktop, Arcade Sprint, Lo-Fi Timeout, Afro Bounce and Buzzer Funk. You switch stations with a tuner on the start screen.

A flame chip counts consecutive days played. Consecutive baskets build streaks, and a long enough run puts the ball on fire. Difficulty rises with baskets made, and the best score and audio preferences are kept on the device.

All the tuning lives in one config file: the world, the camera, the shot mapping, the rules and the streak tiers. The physics has no DOM in it, which is what made it testable.

Next on the list is a daily challenge with the same seed for everyone, then challenging a friend with a link that replays the same seed.

Rimshot went live in early October 2026. In the first six weeks it had about 280 visitors, and over 70% of them were in Nigeria. About 70% played on a phone, which suits a game built for one thumb. Two Nigerian indie game sites sent about half of all visits, and X sent about one in eight.

The counts come from PostHog, which I set up to be anonymous: a random id per device, no emails. That means they count devices, not people, so someone playing on two devices counts twice. I left out my own test runs from local builds and rounded every figure down.

Next project What Can I Cook Design Engineering

Hiring for a Bitcoin or fintech product team? Email me or book a call.