blog // · 2 min read

Building Slot Club, a slot-car club that plays in the browser

How Slot Club fits 135 model cars, fourteen circuits and a track builder into one browser tab, and why it moved into camwooloo.com.

Slot Club is a miniature slot-car racing club in 3D. You buy cars with a fat stack of pretend credits, pick a circuit (or build your own), and try to find the limit before the car leaves the slot. It plays at camwooloo.com/projects/slot-club on desktop and on phones, and there's nothing to install.

Why a slot-car game

Slot cars are a lovely physics problem. You control one thing, the throttle, and everything else is about how much speed a corner will take before the tyres let go. That makes it easy to pick up and hard to get fast at, which is the sweet spot for a game you open for five minutes and close an hour later.

One tab, 135 cars

The garage has 135 licensed models across five performance classes. Each car ships twice: a full model for the garage and a lighter -low version for racing, so a full grid doesn't flatten a phone. Textures use KTX2, which the GPU can read without decoding them into huge bitmaps first. All of it is plain JavaScript and three.js, with no framework in the way of the render loop.

Every model was made by someone talented, so each one has its author, source and licence recorded, and a credits page lists them all. A test fails the build if a car ever turns up without a model, its garage art or matching licence details.

Fourteen circuits and a track builder

The circuits range from a simple oval to tight technical layouts, and the builder lets you snap together your own. Personal bests save in your browser, along with your credits and your collection. There are console cheats too (type cheats in DevTools), but a cheated race never sets a personal best.

Moving it home

Slot Club started life in its own repository on its own Vercel address. It now lives inside this site, next to the rest of my projects, so it shares the same domain, the same nav and the same link previews. If you build something you're proud of, it should live where people can find you.

Play Slot Club or see everything else I've built.

More from the blog

  1. Cosmos Craft, seven million recipes and no server

    Cosmos Craft is a daily crafting game where you combine water, fire, wind and earth. Here is how it serves 7.1 million recipes as static files, with no API at all.

  2. Seventy design directions, one file each

    The camwooloo design gallery holds 60 home screens and 10 dashboards. Here are the rules behind it, from single-file pages with no images to a registry that keeps every design unique.

  3. Serving app downloads and auto-updates from my own site

    Why every camwooloo desktop app downloads and updates through camwooloo.com instead of GitHub, and how one small API keeps the newest release a single stable link.