Notes

Why a Web Developer Builds Games (and What AI Changes)

AI makes a game faster to build, but a game still has nowhere to hide. What building Ton Up Cricket taught me about quality on the web.

Why a Web Developer Builds Games (and What AI Changes)
Adam Jackson 4 min readaigames

People are sometimes surprised that a web developer who builds websites for small businesses also makes browser games. There's a good reason, and it has a lot to do with AI.

I build with AI every working day. It writes code quickly, and that has changed how long things take. An idea can become something you can actually play in days rather than months. That part is real and I'm not going to pretend otherwise.

What AI has not changed is how hard it is to make something good. A game is the clearest way I know to show that.

A game has nowhere to hide

A website can get away with a lot. A slow page still shows you the opening hours eventually. A clumsy menu still gets you to the contact page. People put up with it.

A game can't hide anything. It has to load fast, run smoothly on a phone and respond the moment you touch the screen. If the timing is off by a fraction, you feel it. If it stutters on an older phone, people close it and never come back. There is no "good enough" version of a game that feels wrong to play.

That is exactly the standard I want for client websites, so the games double as the most honest demo I can give you.

Ton Up Cricket was the first

Ton Up Cricket is fast, top-down arcade cricket. You chase a target off 100 balls in a floodlit 16-bit night match, in the Sensible Soccer tradition. It's written in TypeScript and drawn to an HTML canvas, and the whole game is 2.1 MB.

Everything is one button. A tap, a click or Space. You tap to set your power, tap to freeze the ball as it flies, tap to pick your gap, then tap in the green band to middle it. Miss the band and you edge it.

Describing that takes three sentences. Making it feel right is a different job entirely.

What AI did, and what it didn't

AI is very good at the parts of a game that are mostly typing. Setting up the canvas, drawing sprites, keeping score, handling taps and clicks, wiring up menus. Work that used to take a long evening now takes a short one.

It is not good at telling you whether the game is fun. It can't feel that the green band is a touch too narrow, or that a shot takes a beat too long to land. It doesn't hold the phone. It has no opinion on whether a run of six balls feels tense or tedious.

Those calls come from playing the thing over and over, noticing what's off, and changing it. AI makes each change faster to try. It does not decide which change is right. That is still my job, and it's still slow.

Why small details matter so much

With one button, every detail carries weight. The size of the timing window, the speed of the ball, how quickly the game responds after a tap. Get one wrong and the whole thing feels unfair, even if you can't say why.

Size matters too. Plenty of browser games are tens of megabytes before you see anything. Keeping Ton Up Cricket at 2.1 MB means it opens quickly on a phone with weak signal. That doesn't happen by accident. Someone has to care about it and check it on a real device.

The same standard, applied to websites

This is the bit that matters if you're a business owner rather than a cricket fan. The way I build games is the way I build sites. AI speeds up the build, and I spend the time it saves on the parts that decide quality: speed on a real phone, how a page responds when you tap it, whether it does the job it's there for. I've written more about that approach on my AI-powered build method page.

So if someone tells you AI means a website can be thrown together in an afternoon, they're half right. The first draft can. The good version still takes care, and it's the care you're paying for.

Have a go

Ton Up Cricket is free in your browser with no login, on your phone or computer. You can find it, and the other games, on the games page.

If you want a website built with the same care, get in touch. I'll convert your existing site to HD CMS for free, then it's £20 a month for hosting and updates.

Related reading

AI for business →