Arcade Replay Score Checker

Re-run a Pixelpier replay on the real game engine and check the score it really reaches.

Format "pixelpier-replay" version 1: game, rules, seed, difficulty, startLevel and inputs as runs of [ticks, buttons]. Up to 60 minutes of play.

Try an example: ·

More about this tool

Part of Pixelpier

How it works

Every Pixelpier game is deterministic: the same seed and the same button presses always give the same game. Paste a replay (exported from the high-score list) and the checker plays it again on the game engine — Blockfall, Rockstorm, Coilrun, Brickwave, Jellyraid, Shellhop, Pearlrun, Pier Rally — and returns the final score, level, lives, play time and a fingerprint of the final game state. Give a claimed score to see whether it matches.

  • The replay is validated (format, game id, rules version, seed, difficulty, start level, inputs as [ticks ≥ 1, mask 0–255] runs, at most one hour of ticks).
  • The game engine is created from the seed and options and stepped once per tick (1/60 s) with the recorded button mask; it stops when the game ends.
  • The engines use seeded random numbers kept in the game state and only exactly rounded arithmetic, so the browser and the server reach the same state; the hash is FNV-1a over the canonical JSON of the final state.

Proves what a replay scores, not who played it.

Sources

Part of Pixelpier

  • Pixelpier Arcade game hall

    Eight classic-style arcade games on a neon pier, from falling crystals to a reef maze.

    Open Pixelpier

How to use the Arcade Replay Score Checker

Re-run a Pixelpier replay on the real game engine and see the score, level and play time it really reaches.

What it is for

Every Pixelpier game — Blockfall, Rockstorm, Coilrun and the other booths — is deterministic: the same start number (seed) and the same button presses always produce exactly the same game. Pixelpier stores your best run of each game as such a recording, called a replay. The Arcade Replay Score Checker plays a replay again on the real game engine and reports what it scores.

Use it to settle a high-score contest with friends, to check a score someone posted, or to make sure a replay file still works after an update.

Worked example

The first example, 30 seconds of Coilrun, is a replay of the Coilrun demo player with seed 7 on normal difficulty. The checker re-runs it and answers: 490 points at level 3 after 30 s (game still running at the end of the replay). It also lists the game counters (pearls eaten, starfish caught, crashes, longest serpent) and a state hash such as fnv1a-… that fingerprints the final game state.

The second example uses the same replay with a claimed score of 500. The checker reports that the replay reaches 490, so the claim does not match.

Where to get a replay: in Pixelpier, open High scores, pick a game and press Download replay. The file ends in .pixelpier-replay.json; open it in a text editor and paste the whole content into the tool. You can also open a replay in Pixelpier (Save file → Open save file or replay) to watch it.

How to read the result

  • Score, level, lives are the values at the end of the replay.
  • Play time counts game time: 60 ticks per second. Slow mode in the app does not change it.
  • Game over / still running: a replay of a finished game ends with game over; a replay cut off earlier ends with the game still running.
  • State hash: two runs of the same replay always give the same hash. A different hash for the same replay means the engine has changed.

Tips and common mistakes

  • The rules number in the replay must match the game's current rules version; if a game's rules change, older replays are refused with a clear message instead of giving a wrong score.
  • The checker proves what the button presses score, not who pressed them.
  • Replays are limited to one hour of play and 50,000 input runs.
  • Editing a replay by hand almost always breaks it: the game reacts to every tick.

FAQ

Why is a replay so small?

It stores only the seed, the options and the button presses as runs ("for 40 ticks nothing, then 1 tick up …"). A five-minute game is typically a few kilobytes.

Is anything stored on the server?

No. The checker runs the replay and returns the result; it does not keep the replay.

Can a replay from an older version still be checked?

Yes, as long as the game's rules version has not changed since it was recorded. When a game's rules change, its rules number goes up and the checker tells you that the replay belongs to an older version instead of returning a misleading score.

Guide last updated:

For scripts and AI agents

  • JSON API: POST https://pixelpierreplaycheck.usefulweb.site/api/v1/calculate (same calculation as this page)
  • Interface description: OpenAPI 3.1 · AI guide: llms.txt
  • MCP server (Streamable HTTP): https://pixelpierreplaycheck.usefulweb.site/mcp · tool name pixelpier_replay_check
Example request
curl -s -X POST https://pixelpierreplaycheck.usefulweb.site/api/v1/calculate \
  -H 'content-type: application/json' \
  -d '{"replay":"{\"format\":\"pixelpier-replay\",\"version\":1,\"game\":\"coilrun\",\"rules\":1,\"seed\":7,\"difficulty\":\"normal\",\"startLevel\":1,\"inputs\":[[80,0],[1,8],[63,0],[1,2],[55,0],[1,4],[95,0],[1,1],[143,0],[1,4],[23,0],[1,2],[95,0],[1,8],[7,0],[1,2],[47,0],[1,4],[15,0],[1,1],[31,0],[1,8],[7,0],[1,1],[7,0],[1,8],[47,0],[1,1],[79,0],[1,8],[63,0],[1,1],[63,0],[1,4],[95,0],[1,2],[55,0],[1,4],[23,0],[1,2],[39,0],[1,8],[55,0],[1,2],[23,0],[1,8],[39,0],[1,1],[104,0],[1,4],[76,0],[1,2],[153,0],[1,8],[41,0],[1,2],[6,0],[1,8],[27,0],[1,1],[55,0],[1,4],[27,0],[1,1],[6,0],[1,8],[23,0]]}"}'
Feedback · ideas & bug reports welcome