Skip to main content
← All Posts

Holding left click both mined the rock and shot it

736 commits in November, by a wide margin the biggest month Starwright has had, and the most useful thing in it was deciding to stop.

I keep a list called the Slice Lock: everything that has to exist before I’m allowed to ask whether the game is any good. Not before launch — before playtesting. The point of it is to stop me answering that question with a half-built game and then believing the answer.

It finished on November 8th, with permanent ship loss.

Losing the ship

If you die, your hull is gone. You get a salvaged shuttle and whatever you can do with it. There’s a hardcore flag for people who want the harsher version and a terminal state for runs that are properly over.

Everything in this game is about the ship you built, which makes losing it the only consequence that actually means anything. It took until the eleventh month to put in because it’s the feature most likely to make people stop playing. It’s also the one that makes everything before it matter.

Around it: two new chassis sizes behind research. Loadouts you can name, strip to bins, and compare against your current fit as a ghost overlay. Fog on the system map that remembers where you’ve been. A recharging shield pool instead of per-hit damage soak, which turns fights from arithmetic into pacing. Knocked-out modules that need real repair rather than a plate slapped on. Drones you can watch working — the beam, the cargo, the hand-off.

And full input remapping with gamepad parity and a live controls page, which is the least exciting item here and the one most likely to decide whether somebody plays past ten minutes.

One action, two systems

The best bug of the month came out of playtesting, which is fitting.

Hold left click on an asteroid while it’s inside weapon range and you mine it and shoot it, at the same time. Both systems read the same fire input, neither knew about the other, and both were behaving correctly on their own.

One line of input mapping, two systems affected. It belongs with half the bugs I’ve written up this year: nothing is broken in isolation, and the damage happens where two correct things meet. A test for the mining system passes. A test for the weapons system passes. Nothing was asking what happens when one button means two things.

The workflow changed underneath me

Early November is direct commits to main, the way this project had run from the start. By the 17th it’s almost all pull requests. By the 21st those PRs are tracked jobs going request, triage, spec, build, gate, review, approve, each one its own numbered unit of work.

That shift wasn’t frictionless and saying so is more use than claiming otherwise. My local main sat two commits behind origin without my noticing. A CI change landed inside a job’s own diff, which means the automation edited its own gate while running through it. CI also got split into a fast per-PR tier and a slower nightly one, which is a direct lesson from the seven weeks in October when the gate was broken and I didn’t know. A check I won’t wait for is a check I’ll learn to ignore.

Eight save migrations in three weeks, v21 through v28. One of them exists purely because inserting a new encounter shifted every index after it, which is the sort of thing you only do once before you start writing tests that assert progress can never go backwards. Those tests exist now, because regressions this month were a real risk rather than a theoretical one.

246 test files and a list with nothing on it

Where it stands: 246 test files, around 42,000 lines of game code, and about 61,700 lines of test code. There’s more test than game in this repo, which I’m fine with for a simulation where determinism is the whole foundation.

There are also several open questions I’ve deliberately not answered — whether twin engines should fail together, how shields interact with a few specific weapon behaviours — because they’re playtest questions and I’ve just spent a month building the thing that lets me ask them properly.

736 commits, and the next job isn’t a feature. It’s sitting down and playing it, which after a month like that is harder than building more.

— Bruno