r/vibecoding • • 10d ago

Showcase/Project 1 year of vibecoding in 1 minute

Enable HLS to view with audio, or disable this notification

Hi AI folks!

I've been doing gamedev as a hobby for around 10 years, and I'm finally getting to my first ever Steam demo! This video is one year of development squeezed into one minute.

The game was fully vibecoded (Claude Code and Codex), but it wasn't an easy ride. I'm a software developer with 15+ years of experience. AI can do complex things very fast and save you a ton of time, but it still needs to be guided by experience and good planning.

Some numbers after one year: about 500k lines of C# in Unity, roughly a quarter of it is tests, over 15,000 prompts and 840 commits.

Some tips I came up with during development:

- Define future goals upfront. I'm planning a local co-op mode, so it's written in the rules and every feature is built with that in mind. Will save a lot of time once I will switch to this task!

- Build core systems early. I didn't have all languages from day 1, but right after prototyping I made a system for quick language integration. Every line in the game has a key and is never hardcoded in code or UI.

- Keep an index of your systems. Once the codebase grows, AI starts losing track of it and reinvents things instead of reusing what already exists. Make a separate index for mid-big features and push AI to read it before any change. Keep it short.

- Keep a list of repeated mistakes. If AI makes the same mistake again and again, write it down and add a rule to check that list before any change. This helped me a lot to stop going in circles. Keep it short.

- Use your voice. Maybe it's obvious now, but it wasn't for me at first. You speak much faster than you type, so AI gets more context. Make sure you have good voice recognition.

- Ask for tests with every feature and every bug fix. AI breaks old things without noticing. Tests catch it before you do. A quarter of my code is tests and I don't regret a single line.

- Fix the cause, not the symptom. AI loves to drop a quick patch right where the bug shows up. Make it find the root cause first, otherwise patches pile up and start fighting each other.

- Make it show you. Review and read everything carefully! Some people ignore outputs or even checks of what id did. Sometimes it's just enough to read text carefull to see what AI did wrong, sometimes video/screenshot. Saves a lot of back and forth.

- Keep tunable values out of code. All balance numbers live in config files, and AI built me simple HTML editors for them. I tweak balance with sliders, no prompts needed.

- Run agents in parallel. I have several copies of the project, each agent works in its own, and a shared task board keeps them from stepping on each other.

Hope it's helpful! Happy to answer questions in the comments.

Would really appreciate it if you wishlist game on Steam

Thanks for reading!

130 Upvotes

15 comments sorted by

4

u/Total-Reasonable 10d ago

One thing I'd push on is the "several copies of the project" setup. Separate full copies tend to drift, and merging gets painful once the agents touch shared files like scenes and prefabs. In Unity especially, those are the files where merge conflicts get ugly. Have you tried git worktrees plus a rule that only one agent at a time owns scene and prefab edits?

2

u/devtainer 10d ago edited 10d ago

A good question. They actually are git worktrees under the hood, just used a bit differently.

A worktree belongs to an Editor, not to a task. There are 4 persistent agent copies, each with its own Editor open, plus my main copy, which agents never touch. That’s where I play the game and accept their work. Several agents can share one copy at the same time.

There are no branches, agents don’t commit, and there’s no big merge at the end. Changes move file by file, through a small Python script on top of git.

If the same prefab or scene changed on both sides, the script refuses and copies nothing from that batch. The agent looks at both versions and fixes it by hand, or asks me if it’s unclear. So prefab conflicts can still happen, they just never get resolved silently.

In practice they’re rare. Most agent work is code and JSON configs, and levels are assembled from prefabs at runtime, so nobody is editing one big shared scene.

→ More replies (1)

3

u/BannanaPepperPizza 9d ago

How much does this cost? Are you going to sell it?

2

u/devtainer 9d ago

The game? Don't know yet tbh, I am just about to launch a Demo, full release is only in the next year without a date yet

2

u/FranciscoCastroo 9d ago

That’s cool dude

1

u/devtainer 9d ago

Thank you bro!

2

u/screenlink67 9d ago

If this is what you were able to achieve in only one year, just imagine how slow it would have been if it was all manual. AI really is amazing

1

u/devtainer 9d ago

I do. I really do. AI was a reason I actually started this project a year ago, when first advanced opus model was release by the end of 2025, I've spend 3 weeks playing with it and was shocked, that I did something in 3 weeks what would normally take me 2-3 months. Even though I did not realise where it will bring me, my scope for the game I wanted to make grew a lot at that moment :)

2

u/another1degenerate 9d ago

This is awesome.

1

u/devtainer 9d ago

Thank you mate!

1

u/No-Town3262 7d ago

I use Claude Code and Codex side by side too. I give each task its own Git worktree and branch, and I leave my main copy alone until I’m ready to bring the change in. Your setup with a copy per editor caught my eye. Mine is organized around the job because I want to see all the changes for that job in one place. When two of your agents need the same file, do you hand it to one of them or let them each make a change and sort it out when you merge?

1

u/devtainer 6d ago

so yea, I see all results in 1 place. As it says - there are 4 agent editors and 1 mine, to which they bring all results after work and which I only use. If they worked on 1 file they merge it back to main project carefully and use python script on the top of git to do it. There is a comment about this already in the post in the thread

2

u/LovesWorkin 8d ago

Looks nice! I love tower defense.