{
  "api_version": "1.0.0",
  "slug": "rea-dino-runner-codex",
  "url": "https://reversedwithai.com/p/rea-dino-runner-codex",
  "markdown_url": "https://reversedwithai.com/p/rea-dino-runner-codex.md",
  "json_url": "https://reversedwithai.com/p/rea-dino-runner-codex.json",
  "title": "Rebuilt Chrome's T-Rex Runner as a tested HTML5 game using REA and Codex",
  "tagline": "Codex rebuilt an open-source browser game from REA evidence.",
  "summary": "REA inspected the JavaScript of an open-source browser game through Chrome DevTools Protocol, and Codex rebuilt it with regression tests.",
  "target": {
    "name": "Chrome T-Rex Runner (open-source browser game)",
    "type": "web",
    "type_label": "Websites"
  },
  "platform": "Browser / JavaScript",
  "models": [
    "Codex"
  ],
  "tools": [
    "Codex",
    "REA",
    "Chrome DevTools Protocol",
    "Node.js"
  ],
  "outcome": "works",
  "outcome_label": "Works",
  "human_effort": null,
  "time_spent": null,
  "cost": null,
  "license": null,
  "checks": {
    "source_available": "yes",
    "repro_steps": "yes",
    "real_hardware": null,
    "independently_verified": null
  },
  "author": {
    "name": "zhxunzh84",
    "url": "https://github.com/zhxunzh84"
  },
  "sources": {
    "repository": "https://github.com/zhxunzh84/rea-dino-reverse-engineering",
    "writeup": null,
    "discussions": [],
    "all": [
      "https://github.com/zhxunzh84/rea-dino-reverse-engineering"
    ]
  },
  "image": {
    "url": "https://covers.reversedwithai.com/rea-dino-runner-codex.webp",
    "credit": "Image: GitHub (zhxunzh84/rea-dino-reverse-engineering)"
  },
  "commit_history": {
    "commits": 5,
    "ai_commits": 0,
    "ai_days": 0,
    "first_ai_commit": null,
    "last_ai_commit": null,
    "credited_models": []
  },
  "added_at": "2026-10-15T03:44:50.476956+00:00",
  "updated_at": "2026-10-15T03:44:50.476956+00:00",
  "sources_reviewed_at": "2026-10-15T03:44:50.476956+00:00",
  "reviewed_by": "editor",
  "human_notes": null,
  "reproduce": null,
  "body_md": "zhxunzh84 used REA and Codex to study the scripts of an open-source browser dinosaur runner and rebuild it as a self-contained HTML5 Canvas game with its own tests. A live demo runs in the browser with no build step.\n\n### How it was done\n\nREA, an MCP tool for reverse engineering, found the target browser page through Chrome DevTools Protocol and inspected the loaded JavaScript without changing it. The captured source and evidence went to Codex, which analysed the behaviour, wrote the implementation, reviewed it and orchestrated the tests.\n\nThe README names one subtle detail as the main lesson: movement uses elapsed time, but speed increases once per eligible update. Keeping that distinction mattered more than matching the original look, so the artwork is drawn from scratch.\n\n### Results\n\nThe result is a single HTML file with a speed slider, auto acceleration, swept collision checks and a session best score. Embedded unit and integration tests run the actual game logic, and a Node.js harness runs the HTML script with mocked browser interfaces. The author describes it as practice in evidence-based investigation and checking AI-assisted code.",
  "ai_use_excerpts": null
}
