Create browser-based games
Sketch a game plan, then let ZeroTwo build the game and playtest it in a live browser.
With ZeroTwo, move from a game brief to a clear plan and then a working browser game. Generate images for the art, and let ZeroTwo playtest it in a live browser while refining controls and UI.
Related links
Best for
- building a browser game from scratch with repeated testing.
Skills & Plugins
- PlaywrightPlays the live build in a real browser to check controls and timing (
$playwright). Desktop app only, because it needs a local Node runtime. - Image GenerationCreates art, sprites, and UI assets (
$imagegen). - Game StudioSkills for Phaser 2D and three.js games, sprite pipelines, and
game-playtestfor browser-game QA.
Starter prompt
Introduction
A game needs a concept, rendering, a frontend shell, backend state, assets, and visual tuning. Have ZeroTwo write the design down first, then iterate by playing the game in a browser with Playwright.
Start with the game plan
Turn on Plan mode (/plan-mode) to get a plan covering goal, main loop, controls, win and fail states, progression, visual direction, stack, and milestones. Plan mode keeps that turn read-only and ends with a plan you approve; then ask ZeroTwo to save it as PLAN.md. "Build a game" alone is too vague.
Guide ZeroTwo's behavior with AGENTS.md
Add an AGENTS.md naming the stack and rules: verify with builds and tests, follow PLAN.md, log decisions under .logs, check visuals with Playwright, and save image prompts under .prompts. ZeroTwo reads one instruction file from the project root, preferring ZEROTWO.md, then AGENTS.md, then CLAUDE.md. See custom instructions with AGENTS.md.
Tips: - Use PLAN.md to guide new features - Log work under .logs - Save imagegen prompts in .prompts
Leverage skills
Install Playwright and Game Studio from Customize > Plugins; $imagegen is a built-in skill. Type $ in the composer to pick a skill by name. See Skills. Saved prompts keep assets stylistically consistent.
Let ZeroTwo work and iterate
The first version can take hours, especially with many assets, since ZeroTwo tests unattended. A more precise plan yields a better result; then refine using screenshots and feedback.
Suggested stack
Related use cases
Follow a goal
Hand ZeroTwo one lasting objective for long-running work.
Create a CLI ZeroTwo can use
Hand ZeroTwo a composable command wrapping an API, a log source, an export or a team script.
Iterate on difficult problems
Run ZeroTwo through repeated graded attempts to crack tough problems.


