rea-games

erkamyaman

A clean-room framework for reverse-engineering games into new engines and proving frame-by-frame behavioral equivalence via GAME.md specs.

JavaScriptCreated

What is erkamyaman/rea-games?

rea-games is a clean-room reverse-engineering framework for rebuilding existing games in another engine—such as web Canvas, Rust, or Godot—and proving the rebuild plays identically frame by frame. It uses an open behavior-specification format called GAME.md.

Instead of relying on visual similarity alone, the framework records deterministic inputs, random seeds, and state transitions from the original game and verifies that the reimplementation matches on every move and obstacle. Examples in the repository include deterministic rebuilds of 2048 and Chrome's Dino runner.

Game developers, preservationists, and AI-assisted coding workflows can use rea-games to port or rewrite games across engines with automated behavioral verification.

2048agent-skillsbevycanvasclaude-codeclean-roomcodexdeterministic