Someone gave up on a metroidvania after 40 hours. I built six puzzle levels instead
Shreyans · learning AI by buildingBefore I picked what game to build with AI agents, the research for it turned up a post on the Godot forum: Post-mortem of my failed attempt to vibe-code a metroidvania game, from April 2026. The author spent “about 40 hours over a couple of months” on it, then gave up.
I read it twice, because his plan was nearly the same as mine. This post is about that plan, what went wrong for him, and why my first game ended up as six levels on a single screen.
Claude Code also drafted this post from the forum thread and my build logs; I chose what went in.
His plan was my plan
He described it like this: he would be the product owner “with a strong vision for what I wanted”, test it until it was right, and “let AI handle all of the coding and other technical pieces”. He had never used Godot or written GDScript, its scripting language.
My rule for the games on this site was the same: agents write all the code, I never read it, and my job is to decide what the game should be, play it and judge it. I’m a beginner at game development too.
It goes further than that. After his first try went wrong, he split his AI chats into “unique personas” for different jobs, a “team of 4 or 5 specialized AI personas”. One of my four games, Icebound, came from a small “studio” of agents with four roles: designer, engineer, QA and a producer running them. We both reached for the same idea.
What went wrong for him
The order matters, so here it is as he tells it:
- The first 3-4 hours went well. A test room, and a player who could run, jump, climb ladders, read tablets, equip a scanner, and save and load.
- Enemies and combat never worked. “Prompt after prompt didn’t fix anything and it often got worse.”
- He spent about two weeks on tooling: project management software, several tool servers for the agents, a roadmap with sprints, the personas.
- A change of grid size broke things, and the player script had grown too long for the agent to work with, so he asked for a rewrite into a state machine (a common way to organise a character’s states like running, jumping, climbing).
- The rewrite only looked done. When he asked an AI to review it, the state machine “was basically a global variable the player script would check”. The logic was still in the old script. Fixing that broke more than it fixed.
His conclusion: agents “can’t handle more than 2-3 scripts at a time”, and a metroidvania is “highly choreographed chaos running at 60fps”.
What I did differently
Very little of it was cleverness. Almost all of it was scope.
- A game whose rules can be checked. I picked a turn-based grid puzzle on purpose. The research rated open-ended genres “too big, feel-heavy or slow to validate”, and named his post-mortem as an example of that profile. In a grid puzzle every rule is exact, so a test can check it and a program can prove each level can be finished. Whether a jump feels good is not something an agent can test.
- A small number written down first. The plan started at 12 levels and was cut to 6 before any code.
- A cap with kill rules. At most 10 hours of my own time. Nothing playable after 3 hours: stop and write up why. A feature still broken after 3 agent attempts: cut it.
- Rules apart from drawing. The game rules are plain code with no graphics, so the tests run without a browser. The game-dev post covers how the agent checks a game it can’t play.
The part of his story I recognise most is step 5: work that looks finished and isn’t. My agents had the same problem, just smaller. In Blind Spot, one test did not check what its name said it checked, so it passed for the wrong reason. And the win panel covered the board on every level while every text check passed. The difference is that these showed up within a day, in a game small enough that a check could catch them. His showed up weeks in, inside a script too big to review.
What my small games don’t prove
I don’t want this to read as “he did it wrong and I did it right”. A few things stop me from saying that.
- My games are tiny. Blind Spot is about 2,000 lines of TypeScript in 21 files. Refract, the biggest, is about 3,400. A metroidvania is a different kind of project, and nothing here shows agents could build one.
- Different tools, different year. He used Gemini, Replit, Cursor, Continue, Cline and Google AI Studio. I used Claude Code, about six months later. I can’t tell how much of the difference is the tools and how much is the scope.
- His “2-3 scripts” limit didn’t hold for me, but only at this size. Each game has 20 to 30 source files, and Refract’s main scene file alone is over 1,200 lines. That is still far below a metroidvania.
- No person has played them yet. Agents and bots have, thousands of runs. Whether the games are fun is still open.
He ends by saying agents are “best used for quickly doing simple tasks”. My four games fit that description, and I’d agree with him on that. Where I read it differently: small was the point. A small game that works teaches me more than a big one I give up on, and it leaves me something to build on.
What I’d take from both
- Pick the size before the tools. He built a strong pipeline for a game that was too big for it. Better tooling didn’t fix that.
- Prefer a game whose rules a program can check. It’s what lets the agent find its own mistakes before you do.
- Write the stop rule down before you start. About a side project, he wrote that he wished he’d heard the bad news sooner “so I could have saved myself a ton of time”, and he took that lesson back to his game. A cap and kill rules give you that moment on purpose.
- Ask for a review of anything that looks finished. His adversarial review found the fake state machine. Mine found the test that passed for the wrong reason.
The next step for me is the same as last time: a friend plays level 1 without help. If I make a bigger game after that, I’ll write down its size first.
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