r/coolgithubprojects • u/erkamyaman • 7h ago
rea-games: point Claude at any open-source game, it rebuilds it in any engine and proves the rebuild plays the same, frame by frame
https://github.com/erkamyaman/rea-games
It records the original game with its clock and random numbers controlled from outside, so every run can be repeated: inputs, every random number, and the game state after each step. Then any rebuild (web, Rust/Bevy, Godot) is replayed against that recording, and the first difference is printed with its path.
So far, every recorded frame identical:
- 2048: 19 cases, 24,044 inputs
- Chrome's offline Dino: 29 cases, 63,000 frames
- Canvas Bird: 30 cases, 68,409 frames (its state is private, so draw calls are compared)
Each rebuild was also broken on purpose to make sure the check catches it.
Works as a Claude Code / Codex skill: "rea this game: <link>, rebuild it in Godot." MIT licensed, and there are 30 open issues, a lot of them good first ones, including new games to add.
