INSERT COIN

HOW I USED AI

I built this game with an AI coding assistant (Claude Code). I did the job of laying down the blueprint, and AI served the purpose of execution. This page says how that worked and how the rules changed.

The rules I set

On 29 September, nine days in, I added an AGENTS.md file that the assistant had to follow. The goal written at the top: I should understand every line that goes into this project. So the rules were about my understanding, not the assistant's speed:

By the numbers

196 commits over eight weeks. 67 scripts and about 12,800 lines of C#. 89 documentation pages. AGENTS.md was revised in 14 commits, so the rules changed as I learned what worked and what slowed me down.

Counts from the project's repository on the day this page was written.

How the rules changed

Late in the project the file gained a crunch mode, which suspended the understanding checks, and a release mode for the final handoff.

I switched to crunch mode in the last week, primarily to help us get some stretch goals in, like a better refinement of the pattern builder and more power-ups and asteroid types. It was also a pivotal change necessary for helping us integrate the game into the arcade PC, which required more optimization from my end to reach our 60 fps benchmark.

The understanding checks were more so to reinforce terminology and further application of concepts that I had already established. I did the job of laying down the blueprint, and AI served the purpose of execution. In crunch mode that concept still applied.

Release mode was another layer peeled back on the limitations of the agent, allowing it to do whatever it needed in order to round out and ship our final product. This included collecting documentation, retrieving old commits for the sake of grabbing screenshots, and a much broader tally of statistics like lines of code or number of commits.

What the AI did, what I did

Most, if not all, design decisions were made by me. AI was a tool to execute those decisions, and within them it would recommend many things that I would let it choose. Most often these would be just variable defaults and naming conventions.

Since I took such granular approaches to the way I detailed the systems behind the mechanics I wanted, the AI had little room to really draft an idea outside of the scope of my own vision. But working on its small scale, I did go in and make many adjustments to the code, values, or design myself, even so far as changing the AGENTS.md file if something became a common problem or need, like the introduction of tooltips for every inspector property.

It did introduce several bugs, and through my testing I was able to find most of them. The rest I found through my optimization pass. None of them were particularly game-breaking, and all of them were easily fixed.

Where it helped, where it didn't

The volume of code at the speed the agent could write it is something I never could have achieved given my time frame as a primarily solo programmer. As well, it provided structure in keeping track of documentation and in double-checking that the changes I made to one script made it to every script they should be touching. Aside from the small things, a large piece of this game the AI definitely carried was the shader work.

I refrained from using an MCP this project, so I found once crunch mode was enabled that it really wasn't always the best at handling Unity processes for me, and I would instead opt to take over manually.

What I'd do differently

I would have set up the AGENTS.md file to prioritize organization on all levels: file structures, naming conventions, and documentation.