4,900 commits into a Unity game with Claude Code. The prompts mattered less than what the repo remembers
retained text
Solo dev. Since July I've been making Gods to Dust, a horde-survival ARPG in the Egyptian underworld, with Claude Code working in the Unity editor through MCP. About 4,900 commits so far. The big lesson for me is somewhat obvious, but Claude forgets everything between sessions, so the repo has to remember for it. Every session reads one rules file first. It's AGENTS.md, and CLAUDE.md just imports it, so Codex follows the same rules (if I ever wanted to switch, which I haven't yet). Most rules carry my own words and the date I said them, so an agent knows why a rule exists and not just what it says. Think of it like a tree of instruction pamphlet's based on the task, that are constantly maintained by agents when their work is done. Some of those rules came from getting burned. Ten sessions left their work uncommitted and some of it got lost, so now every session commits and pushes to main before it can call a task done. To save usage, it gets three tries at a compile error, then it stops and tells me. And every lesson goes into a shared notes doc in the repo, because one agent's memory folder is invisible to the next. My favorite part of my workflow for QA is I play the dev build, hit F11 when something's off, and an agent in the editor picks up the report and its screenshot and fixes it while I keep playing. It doesn't get the final say. I judge the look, the feel and the balance, and I hear every voice line before it goes in. Most of the art is purchased asset packs. AI made the voices, some music and sound effects, the story paintings, and a few enemies and some props and gear. Happy to go into more detail with my workflow, setup, etc. It's all fairly basic (in my head) but I have definitely mis stepped multiple times. If any of you are attempting to game dev, happy to help. If you like what it built, the demo's free and a wishlist helps a ton. Link's in the comments.
document fetched 2026-11-20 00:41 · canonical https://reddit.com/r/ClaudeCode/comments/1y09sbd/4900_commits_into_a_unity_game_with_claude_code