← sources

Claude Code wrote every line of this one in 4 weeks

source: reddit (reddit:ClaudeAI)published 2026-10-27 12:59ingested 2026-10-28 02:35

retained text

Quick background: I wrote Minecraft plugins when I was 14, did 5 years of C# in a corporate job, then ran an e-commerce business. I had never made a real game.

On October 7 I started a browser prototype with Claude Code. The next morning we moved it to Unity. Three weeks later it's Grandpa's Garden, a top-down pixel crime game. Your grandpa dies, you inherit his house and find out what he was really growing in the garden. You grow, cross and dry your own strains, sell to customers and try to stay away from the police. 9 chapter story, online co-op for up to 6 players, 11 languages.

**Who did what**

I wrote the story and made the design calls. Claude wrote all of the code, the first drafts of the dialogue and the translations, and I edited them. There are no sprite sheets and no audio files in the project. Every character, car, plant and building is drawn pixel by pixel in C#, and the music and sounds are synthesized in code too. Right now that's about 68k lines of C# in the game plus 11k lines of test bot, across 528 commits.

**The real problem: Claude can't play the game**

It can't see the screen and it can't hold a controller. Most of my time went into giving it eyes and hands:

* The game logic lives in plain C# with zero Unity in it. A console bot compiles that same code, plays the whole story, all 9 chapters and both endings, and reports where it got stuck.
* A script starts Unity in batch mode, sets up a scene and takes screenshots. Claude looks at the pictures and checks its own work.
* Shadows took 6 rounds. What finally worked was making it measure pixel values in screenshots instead of tuning by feel. Turns out URP blends in linear color space, so alpha 0.55 is almost black.
* It even records the clips for my trailers. It scripts camera scenes inside the game, saves the frames and cuts them with ffmpeg. The clip in this post was made that way.

**Multiplayer came late**

I added online co-op on day 7, when most systems already existed. What made it work was one rule: every action a player can take goes through one function. The host runs it and everyone else mirrors the result. Claude has that rule in its notes and runs every new button through it.

**What went wrong**

* It will happily build a big system you don't actually want. It built me rotated car sprites with 60 angles, I hated the look and reverted. Later I asked again and reverted again. Now its memory has a note: never touch the car perspective again.
* When it replaced part of a line, it sometimes put a // in the middle and commented out the rest of that line. Compiles fine, breaks in game. Once a harvest counter stopped resetting and showed "6 / 4". After it happened a few times, every diff now gets scanned for it before a commit.
* I run several Claude sessions on the same repo. One of them committed files another session had staged. Now it checks git diff --cached before every commit.
* Running every test after every small change was too slow. Now it batches the tests after about 10 changes.

**Cost so far**

$100 for Steam, about $100 a month for Claude, roughly 3 weeks full time. The Steam page went live on October 22 and has 180 wishlists so far.

**Looking for testers**

The free demo is in Steam review and should be out in a few days. Before that I'm looking for people who want to play it early and tell me what breaks. Windows or Mac. If you're up for it, send me a DM.

And if it looks like your kind of game, a wishlist helps a lot: [https://store.steampowered.com/app/5425680/Grandpas\_Garden/?utm\_source=reddit&utm\_medium=claudeai](https://store.steampowered.com/app/5425680/Grandpas_Garden/?utm_source=reddit&utm_medium=claudeai)



**Happy to answer anything about the setup. How do you test the stuff Claude can't see?**

document fetched 2026-10-28 00:22 · canonical https://reddit.com/r/ClaudeAI/comments/1xgruok/claude_code_wrote_every_line_of_this_one_in_4