Artist Without A Canvas Studio

← The Collapser · Problem pages

Replay verification — the verified score

How do you verify a score without trusting the client?

Verify a score by re-simulation: record the run as a committed seed plus the full input stream — never the outcomes — then derive the score again from that record and compare. If the claimed score equals the derived score, it verifies; if any input differs, the derivation diverges and the claim is refuted by construction.

The mechanism

The shape is already proven in the wild by the developers who hand-built it: one indie studio's published design records a run as seed + input streams, and verification re-simulates the run server-side and compares a rolling digest — their write-up is titled "The Verified Score," and its companion post explains the fixed-point arithmetic adopted "so the same inputs produce the same state, bit for bit," across four platforms. The principle has three load-bearing parts. First, outcomes are never submitted: a client that reports its own damage numbers has already lost; the record holds inputs only. Second, the claim is a parameter of the check, bound into the verification's identity, so a verdict always names the exact claim it judged. Third, the verdict is an artifact — it carries a manifest, sits in a ledger, and can itself be re-derived and audited later, so "we checked it" is a claim with receipts rather than a log line.

How the engine's shape answers it

The replay-verify domain is this mechanism as a registered domain in The Collapser, and its graded numbers are small enough to hold in one hand. A founding commits a match — game, ruleset, seed. Eight input facts append. The run derives a score of 16; the claim against the honest record returns VERIFIED and the manifest replays MATCH. Alter exactly one input — a strike becomes a rest at tick 3 — and the tampered run derives 10: the honest claim against it is REFUTED, and the honest manifest replayed against the tampered record returns MISMATCH, so the verification is not vacuous in either direction. The record layer enforces the first principle mechanically: submit a fact carrying an outcome field — a damage value — and it is refused at append time, because a value that can be derived does not get to be a fact. The integration guide walks the whole flip, commands and expected output included, so you can run it before you believe it.

The honest limit

Re-simulation proves the run followed the rules from the committed inputs. It cannot prove the inputs were produced by a human playing honestly — an input stream authored by a bot verifies exactly as well as one played by hand, and input authenticity is a separate layer this mechanism does not pretend to be. It also inherits the simulation's determinism entire: if your sim leaks through clocks, iteration order, or platform floats, its re-derivation diverges on honest runs too, and verification becomes noise. The record discipline comes first; the verdict is only as good as the derivation underneath it.

See the flip, graded Open the playground