I’m a beginner at game development. I wanted to see how far AI agents get building a small game when I set one rule: agents write all the code, and I never read it. My job is to decide what the game should be, play it, and judge whether it’s fun.
Two days later, there are four small games on this site. The most interesting part wasn’t the code. It was a question I hadn’t thought about: an agent can’t play a game, so how does it know the game works?
Short answer: it needs two kinds of eyes, and the second kind caught bugs the first kind swore weren’t there.
Claude Code also drafted this post from my notes and the build logs; I chose what went in.
- games live
- 4
- lines of code I read
- 0
- automated checks on game 1
- 47
- AI-made images or sounds
- 0
Picking an engine: what the agent can run by itself
Before any code, agents researched five questions: engine, genre, how an agent can test a game, art, and where the game would live. A second agent then tried to knock down each finding against primary sources. A few recommendations changed because of that check.
The engine question turned out to be less “which engine is best” and more “which engine lets the agent run the whole loop on its own”: build, start the game, press keys, take a screenshot, look at it. No editor, no clicking.
- Phaser 4 (TypeScript, in the browser). Everything is plain text, it has official agent skills, and tests and screenshots run without an editor. Against: stable only since 10 April 2026, so models mostly know Phaser 3.
- Godot 4.7. Text scene files, a command-line mode, years of training data. Against: its headless mode is built for servers, so screenshots need a different setup, and some work still happens in the editor.
- Unity 6. The strongest industry signal. Against: it’s built around its editor, its scene files are full of generated IDs, and its AI tools are in beta.
- Bevy (Rust). Against: a release with breaking changes about every three months, so models write outdated code.
I went with Phaser 4. The reasons were mostly about me, not the engine:
- I’m a beginner. With game-dev experience, Godot would have been just as good. It’s clearly where the momentum is: at this year’s GMTK Game Jam, 47% of entries used Godot, the first time it beat Unity.
- The game is tiny, 2D and single-screen. For 3D or anything bigger, Godot or Unity win.
- The agent has to do everything from the command line.
- It will live as a free page in the browser, which Phaser does natively.
The honest counterpoint: models know Godot much better than Phaser 4. I expected the agent to keep writing Phaser 3 code by mistake, and I’d half planned to write about that wall.
It never happened. Phaser’s own repository ships a folder of agent skills (28 of them, short guides an agent reads before it works). The agent read the relevant ones first, stuck to basic drawing, text and keyboard input, and made no version mix-ups. The games run Phaser 4.2.1.
Picking a game: how much of the fun can an agent judge?
A one-button arcade game lives or dies on feel: timing, weight, juice. An agent can’t judge any of that. A turn-based grid puzzle is the opposite: the rules are exact, so every rule can be tested, undo is trivial, and a program can prove each level can be finished.
So the first game is Blind Spot: push mirrors to bend a light beam into a green ring. The catch is that your own body blocks the light, so the last move is often stepping out of the way.
The research plan started at 12 levels. The fact-checking agent cut it to 6, because designing levels is the real cost, and that cost is my time, not the agent’s. I also set a cap of 10 hours of my own time, with kill rules: nothing playable after 3 hours means stop and write up why; a feature still broken after 3 agent attempts gets cut.
Level 1, three moves. Push the mirror up, and your own body blocks the beam. Step aside and it reaches the ring. Recorded by a headless browser pressing real keys.
How the agent gets eyes
The setup came in stages, so the agent got eyes without me spending hours on tooling:
- Rules kept apart from drawing. The game rules are plain code with no graphics, so they run in tests without a browser.
- Tests. Moving, pushing, beam tracing, undo and winning are all checked automatically. By the end, 47 checks run in under a second.
- A
snapcommand. It opens the game in a hidden browser, presses real keys, and saves two things: a text dump of the game state, and a screenshot. - A solver. It tries every possible sequence of moves to prove each level can be finished, and reports the shortest solution.
- A 10-minute soak. Random keys and clicks through the real menus, failing on any error. The last run: 13,346 actions, zero errors.
Here’s what the text eyes see when level 1 is won:
screen win moves 3 won true
beam ends: target at 4,6
#########
#>**\...#
#...*@..#
#...*...#
#...*...#
#...*...#
#...T...#
#########
Everything in it is correct. The beam (*) bends off the mirror (\) and
ends on the target (T), and the player (@) is standing to the side.
And here’s what a person saw on that same screen:

The win panel sat right on top of the board. On every level it hid the one thing the level was teaching: on level 1, the player who just stepped out of the light. All the tests passed. Every “expect a win here” check passed. Only someone looking at the picture could see it.
It was the second time. In the very first build, the text dump was right but the screenshot showed the instructions line cut off at the edge of the screen. The agent fixed both once it looked at the picture, and added a test that the panel sits below the board on all six levels.

The lesson, which came up again in every later game: a passing test proves only what it checks. Text is good for logic. Pixels show what a person sees. The agent needs both, and someone has to actually look at the pixels.
Two smaller things from the agent’s own log. One of its tests didn’t check
what its name said it checked, so it passed for the wrong reason; the agent
caught it on a re-read. And a shell loop fed each level the previous level’s
solution. The snap checks failed five of six levels at once, which is
exactly what they’re for.
What still needs a person
“Solvable” doesn’t mean “good”. The solver proved every level could be finished, and then showed something I hadn’t asked: on the first version of level 1, the one meant to teach “your body blocks the light”, you could win in 10 moves without ever standing in the beam. The level didn’t teach its own idea. Hand-drawn layouts kept having that problem, so the agent searched for layouts where the trick is required, and found one for the finale on the third try.
Here’s what the agents told me they could not judge, across all four games:
- whether a level reads as designed or looks random
- whether it’s fun, or whether placing pieces feels like a puzzle or a chore
- whether a person would beat the bot, or give up first
- how long anything took: agents’ own time estimates were 4 to 5 times too high, because they can’t see a clock unless they ask for one
That last one surprised me. The fix was simple: time now comes from the tool’s own timer, not from the agent’s report.

Art, and what to tell players
There’s no AI-generated art, audio or voice in any of the games. Everything on screen is plain shapes drawn by code. The plan allows Kenney’s free public-domain packs too, but none of the games needed them yet.
The research changed one claim here. An early draft said shapes drawn in code would avoid AI disclosure. They don’t: the agent wrote that code, so the shapes are agent-made too. The stores draw the line in different places. Steam asks about AI-generated content that ships with a game and that players see, and says plain efficiency gains aren’t its focus. itch.io’s quality guidelines ask creators to tag projects with generative-AI material. Players care a lot: in December 2025 the Indie Game Awards took back two awards from Clair Obscur: Expedition 33 over AI-generated placeholder textures that shipped at launch.
So the label is plain: code written with AI agents, no AI-generated art, no sound. I considered “art by me”. It would have overclaimed.
Where it lives
The research first said itch.io. It moved to my own site, because the games exist to go with posts like this one, so you can play them right here. A Steam page costs $100 per game plus tax and identity forms, and would turn an experiment into a product. Not yet.
From one game to four
Once Blind Spot worked, the same setup was reused for two more prototypes built on the same light-and-mirrors idea, each to answer one question: after a run, do friends ask to play again?


These two have numbers the agent can’t eyeball, like prices and score targets, so bots play thousands of runs and the agent tunes towards targets such as “a run takes about ten minutes”. The same lesson came back: in Lumen, the text dump said the end screen was fine, and the screenshot showed shop text drawn over it.
The fourth game, Icebound, came from a different setup: a small “studio” of agents, each playing one role (designer, engineer, QA, and a producer running them), taking a game from pitch to a tested build and asking me one question at each gate. Same wall again: its win panel covered most of the small board. The tests passed; only the picture showed it.

What I’d tell someone trying this
- Pick tools the agent can run end to end. That mattered more than which engine is “best”.
- Give the agent text and pictures, and make sure someone looks at the pictures. Three of the four games had a bug that every text check missed.
- Pick a game whose fun you can test, at least for the first one. Rules can be proven; feel can’t.
- Keep the parts only you can do small. Here that’s level design and deciding whether it’s fun, and those took more thought than anything the agents did.
Agents built and checked all four games. As I write this, the checks are agents’ and bots’ runs, not people’s. The next step is the one no agent can do: watching a friend play level 1 without help.
Play the games (desktop browser, keyboard or mouse).
Get new posts by email
My next AI experiment by email: what I built, what broke, and the honest result.
One email per new post, a few a month at most. No spam, unsubscribe anytime.
You'll get an email to confirm. Or follow along via RSS.

Comments · Sign in to start the discussion
Comments
Sign in to comment