Skip to content
Devlog

Doubling ship toughness, and duels that wouldn't end

An enemy Raven flying low down a city street, chased by the camera, in a test duel between two computer pilots

What we changed

On October 9, fights ended too quickly, since two missiles took an enemy down. We doubled every ship’s toughness, the player’s included. Toughness is the number each blow is divided by before it does damage, so doubling it should make a ship last about twice as long.

What we measured

The game has a tool that flies two computer pilots against each other in a small city of blocks, hundreds of duels at a time, much faster than real time. We use it to tune the enemy pilots: two versions fly the same duels, swapping sides, and the tool reports which one wins more. A duel that runs out of time is a draw.

After the change, almost every duel was a draw, and longer duels did not fix it.

Duel Time limit Ended with a ship shot down
Before the change 2 minutes 88 of 120
Toughness doubled 2 minutes 6 of 80
Toughness doubled 5 minutes 14 of 80

At the end of five minutes, 95 of the 132 ships still flying had more than 60% of their hull; the median was 76%.

Why

Every ship has a shield in front of its hull. The shield takes damage first. Once nothing has hit it for 4 seconds it starts to refill, and it goes from empty to full in 3 seconds.

The toughness division happened before the shield took the blow. Doubling toughness halved every blow, and the shield then held twice as many hits. The computer pilots fight in passes: an attack run, then a break to reposition, which often takes long enough for the shield to refill. An attack run that used to get through the shield and into the hull now ended on the shield, and the hull came out of it untouched, so most passes did no hull damage at all.

What we did

We decided that toughness shouldn’t apply to shields. The shield now takes each blow whole, and toughness divides only what gets past it to the hull. The same 80 match-ups, five minutes each:

Duel Ended with a ship shot down Median length
Shield divided by toughness 14 of 80 5 minutes (the limit)
Shield takes blows whole 67 of 80 3 minutes

The player’s cannon now needs 104 rounds to bring down a medium enemy. By the same arithmetic it needed 64 before the change, and 128 with the shield divided too.

We also decided that a duel never ends in a draw. One still going at five minutes is now decided on points: the ship with more of its hull left wins, then the one that lost less over the duel, and if neither ship was touched, a coin toss drawn from the duel’s seed. In the 80 duels above, 13 went to points and none to the toss.

Provenance

How this post was made

Drafted by
A Claude Code session in the game's repository, October 9, 2026.
What it did
Changed ship toughness and the shield rule, ran the AI-versus-AI duels, tabulated the results and drafted this entry for the dev journal.
Reviewed by
Alex van Rossum,

On the roadmap: The run: a ladder of cities

Linear MIP2-706, MIP2-709, MIP2-723commits a1d2519, 70c2034, fa03765