Setup & Installation
What This Skill Does
A development workflow for building HTML/JS web games with Codex. It pairs small incremental code changes with a Playwright-based test loop that sends input bursts, captures screenshots, and reads game state through a required `window.render_game_to_text` function. Progress is tracked across agent sessions via a `progress.md` file.
Manual browser testing of game logic is slow and hard to reproduce, while this skill gives Codex a repeatable, screenshot-verified loop that catches regressions frame by frame.
When to use it
- Building a browser-based platformer with automated input testing
- Debugging sprite collision logic by stepping frames deterministically
- Validating score and health state changes after each code iteration
- Resuming a half-finished game build where a previous agent left off
- Testing keyboard controls like jump, shoot, and pause through scripted action payloads