Skip to content

Releases

v1.1.0

Choose a tag to compare

@erkamyaman erkamyaman released this 25 Nov 15:53
v1.1.0
2fcb430

v1.1.0: three more games

rea-games now covers six games. Bricks, Paddles and Blocks join 2048, Dino and Canvas Bird, each recorded from an MIT original and checked frame by frame.

In this release

  • Bricks: a brick-breaking game recorded from javascript-breakout (MIT), 37 cases, with a web port and a play page. (#39 by @puretechteam)
  • Paddles: a two-paddle ball game recorded from javascript-pong (MIT), 19 cases, with a web port and a play page. (#41 by @puretechteam)
  • Blocks: a falling-blocks game recorded from javascript-tetris (MIT), 36 cases, with web, Godot and Rust (Bevy) ports and a play page.
  • Screen readers: the play pages now announce the score and game state. (#43 by @1donatien0)
  • Bundler: scripts/bundle.mjs now keeps every name a module exports, including declarations that bind several names at once. (#43 by @1donatien0)
  • verify all: a failing build no longer stops the rest of the run. (#40 by @puretechteam)
  • Tests: unit tests for lib/compare.mjs and lib/rng.mjs. (#38 by @puretechteam)
  • CI: the Godot checksum check is fixed, so verify all runs in CI again. (#37 by @puretechteam)
  • Docs: stale Rust port references now point to the Bevy ports. (#42 by @nextammy)
  • Dependencies: Bevy 0.20, Node 26 in CI, actions/checkout v7 and actions/setup-node v7.

Thanks to @puretechteam, @1donatien0 and @nextammy.

Try it

npx rea-games list
npx rea-games verify bricks --port web

In Claude Code:

claude plugin marketplace add erkamyaman/rea-games
claude plugin install rea-games@rea-games

Needs Node 22 or newer. Recording browser games also needs Playwright with Chromium.

v1.0.0

Choose a tag to compare

@erkamyaman erkamyaman released this 25 Nov 07:53
v1.0.0
b7be023

v1.0.0: rea-games is out

Reverse-engineer any game, rebuild it in any engine, and prove the rebuild plays the same.

rea-games runs the original game with its clock and random numbers controlled from outside, records the inputs, every random number it draws and the game state after each step, and checks any rebuild against that recording. A rebuild only passes when every recorded state matches and it uses exactly the recorded random numbers.

In this release

  • Three games, verified: 2048 (19 cases), Chrome's offline Dino (29 cases) and Canvas Bird (30 cases), 155,453 recorded inputs in all.
  • Three engines: web ports for all three games, plus Rust and Godot 4.4 ports of 2048, each checked by the same verify runner.
  • A check that can fail: every port was broken on purpose (a constant, a collision offset, a timing gate) to make sure verify catches it.
  • Agent skill: a Claude Code and Codex plugin that runs the loop for you: record, write the behavior spec (GAME.md), build the port, verify, and report what it could not cover.
  • CLI: list, new, record, verify and pack.

Try it

npx rea-games list
npx rea-games verify 2048 --port web

In Claude Code:

claude plugin marketplace add erkamyaman/rea-games
claude plugin install rea-games@rea-games

Then ask: "rea this game: , rebuild it in Godot."

Needs Node 22 or newer. Recording browser games also needs Playwright with Chromium.