rea-games replaces the clock and Math.random without modifying the original code, recording inputs, every random number, and the game state after each step. It then writes a GAME.md specification (covering rules, intra-frame ordering, constants, and even bugs in the original); agents rewrite the game according to this spec in web, Godot, or Rust (Bevy), while the verify command compares step-by-step and prints the first discrepancy. The repository includes 2048, Chrome Dino, block elimination, Breakout, Minesweeper, and 7 other replicas; all originals are open-source games under MIT or BSD licenses that can be played directly in the browser. The author also intentionally corrupted constants to confirm that the checks actually fail.
Why it matters Replacing the clock and random number generator allows the original to be replayed precisely, and replicas must match the state at every step to pass, which is more reliable than visual comparison; 7 verified examples are included.
Stars: 483 (+62 / 24h)
Reasons
- 62 new stars in the last 24 hours, totaling 483 stars (indicating attention only); MIT license, created on 25 11, and the same author's rust-anything project appeared on previous rankings
- The README distinguishes which ports have been verified versus those that merely compile and run but haven't been played (Bevy window, Godot visuals), noting that Unity work has not yet begun
Usage
- Run
claude plugin marketplace add erkamyaman/rea-games, thenclaude plugin install rea-games@rea-games, and say "rea this game: <open-source game link>, rebuild it in Godot"; for manual use, runnode bin/rea-games.mjs record / verify, which requires Node 22, while browser games also need Playwright and Chromium
Risks
- Suitable for small open-source games where source code is available and they can run in a browser; the README advises checking the original license first and avoiding trademarked names
- Replicas only rewrite behavior; art and sound effects must be created separately