What problem does it solve?
This Skill provides a reliable, repeatable development and testing loop for HTML/JavaScript browser games so developers can implement small changes, run deterministic input bursts, inspect visuals and text state, and fix regressions quickly.
Core Features & Use Cases
- Deterministic Playwright Client: A Playwright-based script that drives input bursts, advances virtual time, captures screenshots, and writes rendered state and console errors.
- State & Visual Verification: Encourages exposing window.render_game_to_text and window.advanceTime to compare textual game state with screenshots for end-to-end validation.
- Progress and Repeatability: Guidance to maintain a progress.md, use action payload references, and iterate with small deltas to avoid flaky tests.
- Use Case: Automatically validate movement, combat, UI flows, and level progression by running scripted bursts and reviewing screenshots plus render_game_to_text output.
Quick Start
Run the Playwright client against your local dev server to step the game deterministically, capture screenshots, and save render_game_to_text state for inspection.