Example project. Tidepool is a small top-down puzzle game: a crab collects shells on a beach before the wave comes in, across ten short levels, played with arrow keys or a thumb. The project is an illustration written to show the steps.
A game built this way: Claude Cope, a multiplayer terminal game, went from an empty repository to 458 merged pull requests through ProPR.
Pick the stack
These are the standard tools for 2D games in the browser, free to use, with thousands of examples the agents have learned from.
| Piece | Pick | Why |
| Game framework | Phaser | The standard open-source framework for 2D browser games: scenes, sprites, physics, input and sound all built in. |
| Project tooling | Vite with TypeScript | A fast build with a preview server, so each pull request produces a playable build. |
| Tests | Vitest | Level rules, scoring and collision maths get tests, so a tweak to one level never breaks another. |
| Publishing | GitHub Pages, then itch.io | GitHub Pages publishes a public repository free on every merge. itch.io hosts browser games free and gives you a storefront page when you want one. |
Verified November 2026: Phaser 4 is the current stable release under the MIT licence; Vite and Vitest are current. GitHub Pages is free for public repositories. itch.io hosts HTML5 games at no charge, played directly in the browser.
The crab moves too slowly to feel fun. Make each step about half as long, and let me hold the key to keep moving. Keep the wave speed as it is.