Why AI-made games fall apart, and what this kit changes
An AI coding tool answers the request in front of it. Ask for "add enemies" and it adds enemies the quickest way it can, often by growing one file. After twenty requests the game is a single script of two thousand lines, the AI keeps breaking things it fixed before, and you can't tell what changed. The fix is not a smarter prompt. It is a small, clean project from the first minute and a short set of rules the AI reads before every task.
This kit gives you both. The starter project runs right away, so the AI begins from working code instead of a blank folder. The rules file tells it where code goes, which engine version to write for, to work on one task at a time and to stop so you can test. The task list breaks the first playable version of your game into steps small enough for an AI to get right, each with a prompt to paste and a check to do.
What is in the zip
- A playable starter. For Godot 4: project.godot with input actions, a main scene, a player scene and a GameState autoload. For Phaser 3: index.html, ES module scenes and a config file. The player already moves the way your kind of game needs: run and jump with coyote time, eight-way movement, ship and bullets, or a click counter.
- Placeholder sprites at your art size, named the way the code loads them, so you can swap in real art later without touching code.
- AGENTS.md, the rules file that Codex, Cursor, GitHub Copilot and other tools read. Claude Code reads CLAUDE.md, so the kit adds one that imports AGENTS.md. Gemini CLI and Copilot get a short pointer file.
- docs/GAME.md, a one-page plan with your idea, the core loop, controls and what is out of scope for now.
- docs/TASKS.md, about seven steps from the starter to a first playable game, each with a prompt and a check.
How to use it
Unzip the folder. For Godot, open the Godot 4 project manager, choose Import and pick project.godot, then press F5. For Phaser, the page needs a small local server because it uses ES modules: run npx serve . in the folder, or use the Live Server extension in VS Code. Check that the player moves. Then open the folder in your AI tool and send the first message shown above. It asks the AI to read the rules and explain the project before it changes anything, which is a cheap way to see that it understood.
After that, work down docs/TASKS.md. Send one task, test it, and only then send the next. If something breaks, tell the AI what you did and what you saw, and paste the error from the Output panel or the browser console.
Why Phaser 3 and not Phaser 4
Phaser 4 is out, but most examples, tutorials and answers that AI models learned from are written for Phaser 3. Code for one does not always run on the other, so the kit pins Phaser 3.90 and tells the AI to stay on it. Moving to Phaser 4 later is a separate, deliberate step.
Why Unity is rules only
A Unity project has a Library folder, settings and scene files that only the Unity Editor should write. So for Unity the kit gives you the rules, the plan and the task list. Make a new 2D project in Unity Hub and put the files next to the Assets folder. The rules tell the AI to write scripts and to give you exact editor steps for the parts it can't do by itself.
Tools for the next steps
When the placeholders need to become real art, write matching prompts for every sprite with the AI Game Art Prompt Builder, then clean up AI images with the AI PNG Fixer and line up uneven frames with the AI Sprite Sheet Fixer. Tune how the jump feels in the Game Feel Lab and copy the numbers into the player script. For tile-based levels, the Autotile Generator makes the tileset.
Is my data uploaded?
No. The project and the sprites are made in your browser. Your choices are saved only in this browser.