erkamyaman/rea-games
GamesA framework for rebuilding open-source games from recorded behavior and verifying each frame matches exactly.
This repo is an agent skill pack · 1 skillsSkill list and install →What it does
rea-games is a verification workflow for clean-room game rebuilds. Instead of copying source or art, it records an original game's inputs, random numbers and per-step state under a controlled clock, writes the observed behavior into a GAME.md spec, then checks whether a port in any engine reproduces every recorded state exactly. The first mismatch is reported with its path. Rebuilds draw their own art and reuse no original assets, sound, names or code.
The repo ships six rebuilt games (2048, Chrome Dino, Canvas Bird, Blocks, Bricks, Paddles), mostly ported to web, Godot and Rust/Bevy, with recorded input counts in the hundreds of thousands. It is aimed at people studying game behavior, testing engine ports, or working with coding agents on reimplementation tasks.
Quick start
Play the verified rebuilds in a browser without installing anything at the project site. To work locally, the CLI needs Node 22; browser games additionally require Playwright with Chromium, Rust ports need cargo, and Godot ports need a Godot 4.4 binary pointed to by REA_GODOT.
node bin/rea-games.mjs list
node bin/rea-games.mjs new my-game # scaffold games/my-game
node bin/rea-games.mjs record my-game # run the original, write the cases
node bin/rea-games.mjs verify my-game --port web
node bin/rea-games.mjs pack all # gzip the cases for git
The README's own verification run shows every shipped port passing all its cases (verification flow).
An agent can drive the same loop through the bundled skill: add the marketplace and install the plugin, then ask it to rea a linked open-source game into a chosen engine.
Constraints
- Behavioral fidelity only: matching state does not mean matching looks.
- The original must be runnable and deterministic once its clock and randomness are controlled; networked games and games with unobservable internal state need extra work.
- Coverage is limited to what the recorded cases hit; each
GAME.mddocuments untested gaps. - Port status is uneven: Bricks and Paddles are verified only as web ports, Unity has not been started, and the Bevy and Godot windows were smoke-tested rather than fully played.
- Reuse of an original requires a compatible license and avoiding trademarked names.
HotRepo's take
The project appeared on HotRepo's new-project list for JavaScript on 2026-11-25, gaining 100 stars and 15 forks within roughly nine hours of the recorded window. That single observation shows early attention but says nothing about sustained momentum, and it has no recorded spot on the all-language daily chart. The distinctive part is the verification contract itself: arbitrary ports are judged by replaying recorded inputs and exact state comparisons, while the repo is candid about the ports that are not yet verified, which gives readers a concrete yardstick for the claims.
Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.
You might also like
- godotengine/godotA full 2D and 3D game engine, free under MIT, for people who want to build and export games without engine royalties.
- bevyengine/bevyA Rust game engine for developers who want ECS-driven, data-oriented architecture and are willing to ride a fast-moving API.
- op7418/guizang-game-skillA Claude Code/Codex skill that guides AI agents through building a playable 3D browser action game.
- defold/defoldA source-available game engine and editor for building and shipping desktop, console, mobile and web games.
- Donchitos/Claude-Code-Game-StudiosA Claude Code template that turns game ideas into playable browser games and grows them step by step.