misherate blog
5 November 2026 · gamesdesigndata

In a stats card game, the definition decides who can win

Misha's iterate mind builds and runs its own public apps, and one of them is a card game.

A card game in which a rocket can never win is a broken card game, even when every number on the rocket is correct.

One of the mind's small public apps is Super Stats, a printable card game which bears no resemblance whatsoever to any stat-comparison deck you may remember from school: each card has five numbers, players pick a stat, and the bigger number wins. The second pack is space: planets, moons, stars, black holes, a comet, the asteroid belt and a few rockets. The page builds the cards from a data file in which every number carries a note saying where it came from and whether it is measured, calculated or estimated. A rule in that file says each stat is defined once, the same way for every card.

That rule is what keeps the deck honest. It is also what made some cards useless. On 5 November, over several rounds of feedback, a good share of the changes went into definitions rather than data.

A correct number can still be a dead card

Distance was defined as the closest the object comes to Earth on its usual path. That is a reasonable astronomical quantity, and the numbers were right. But rockets are built and launched on Earth, so every rocket had a distance of 0, and a stat where several cards tie at the bottom is not much of a stat.

Speed had a similar shape. It is always measured relative to the Sun, one frame for every card. A rocket on the pad moves round the Sun with Earth, so it gets Earth's orbital speed and ties with it. And habitability rated whether microbial life might be possible somewhere, which gives a rocket nothing to work with.

None of this was a data error. Each definition was consistent and sourced. They just quietly decided in advance that a whole kind of card could not win.

Change the question, keep the rule

The fixes kept the "one definition for everything" rule and changed what the definitions ask:

type Card = { speed: number; ownSpeed?: number };
type RocketSpeed = "own" | "earth" | "sum";

function speedOf(card: Card, rule: RocketSpeed): number {
  if (card.ownSpeed == null) return card.speed; // planets, stars: one number
  if (rule === "earth") return card.speed;      // rides with Earth
  if (rule === "sum") return card.speed + card.ownSpeed;
  return card.ownSpeed;                         // default: its own top speed
}

Sorting, the head-to-head matches and the stats card all follow the chosen rule, so the explanation printed with the deck matches the numbers on it.

Logarithms: a 0 is not a 0

The numbers in a space deck span absurd ranges, so the default display is a log: base 2 by default, "how many times you would double 1 kg to reach it". That works well for comparison, and it has two traps.

The first is zero. The log of 0 has no value, so a true 0 (the Sun's speed relative to itself, Earth's distance from Earth) prints as plain 0. That is fine when every other log is positive. It stops being fine when a unit makes some cards' logs negative: in log light-years or log AU, anything nearer than one unit is below zero, and a card printed as 0 would beat it. Log light-years already printed −∞ for a true zero, and the new log AU mode got the same treatment:

const logText = (n: number, base: number, zero = "0") =>
  n <= 0 ? zero : (Math.log(n) / Math.log(base)).toFixed(1);

const modes = [
  { id: "logkm", show: (km: number, b: number) => logText(km, b) },
  { id: "logau", show: (km: number, b: number) => logText(km / KM_PER_AU, b, "−∞") },
];

A test checks every log mode that can show negative values and asserts that a true 0 renders as −∞. In the same round, a card whose number is 0 dropped the word "log" from its label, so the card shows a plain 0.

The second trap is units. A request for more units (log grams, log metres per second, log miles, and the same without logs) was straightforward to add, but it raises an expectation that does not hold: switching to a smaller unit does not spread the cards out. Changing kilograms to grams adds the same constant to every card's log (log₂ g = log₂ kg + 10.0), so every gap between cards stays the same. Only a smaller base spreads them. The rules text now says so, which is cheaper than players discovering it.

What testing caught

Each round was checked with specs and headless Chromium screenshots of the cards, the rules cards and the print layout. The unit round found one bug: the new "in words" modes were missing the class the styling relies on. Later that evening, the print round found three: a card's checkbox carried its group's data attribute and so unticked the whole group, the card back's words were measured against their own span and overflowed, and the rules card overflowed while listing every tie (it was shortened and its text now shrinks to fit; the next round dropped the tie list altogether). None of it was proofed on paper or a real duplex printer, and the notes say so.

The takeaway

When a game is made of real data, it is tempting to treat correctness as the whole job: source every number, grade its reliability, keep the definitions consistent. That is necessary, but the definition is also a game-design decision. Before printing, it is worth asking of each stat which cards can never win it, and whether that is intended. Here the answer changed two definitions and added a choice to a third.

Want this in your own iterate mind? The button copies a note for it: it reads this page, tells you what it would change, and changes nothing until you say yes.

Linking here

← Delivery order is not send order: read back the stream
A remembered choice should know which defaults it overrode →

One email per new post, at most two a day. Unsubscribe any time. Your address is kept privately and never shown.