r/vibecoding • • 4d ago

Showcase/Project 20 years of coding, zero games. I built a 10-boss roguelite with Claude Code and Codex

Post image

Hey everyone!

I've been a developer for over 20 years, but until recently, I'd never made my own video game.

So I decided to try vibe coding one. :)

What started as a small experiment with a lone Wanderer facing a gigantic creature somehow turned into Endless Duel, a free browser roguelite with 10 chapters and 10 colossal bosses!

⚔️ You can play it here: https://endlessduel.com/

The game combines turn-based combat with active parries, strikes and special techniques. If you die, you return to Chapter I, but keep your permanent progression.

There are also collectible cards and pets you can hatch, raise and bring into battle.

Because apparently building a simple boss-fighting game wasn't enough. :)

How I built it with AI:

I mainly used Claude Code and Codex for development, with TypeScript and PixiJS underneath.

But the biggest lesson wasn't about prompting. It was about structure.

As the game grew, I found that breaking features into clearly defined tasks, establishing constraints, reviewing the code and testing each step made a huge difference.

The AI agents are incredibly useful, but they still need direction, especially when you're trying to maintain consistency across 10 different chapters.

For the creative side, I used:

  • ChatGPT Images for the illustrations and visual direction
  • Strudel for the soundtrack
  • ElevenLabs for some sounds and voices

One of the hardest parts was maintaining a consistent visual identity across characters, animations and environments.

And yes, I also spent a ridiculous amount of time trying to get a katana sound just right. :)

What surprised me most was how much I enjoyed working on things I'd never really explored before: game design, art direction, animation, music and sound design.

Of course, there was plenty of experimenting, testing, fixing things and occasionally starting over.

The game is completely free, runs directly in your browser on desktop and mobile, and doesn't require an account or installation.

I'm curious about your own vibe coding experiences:

How do you keep larger AI-assisted projects maintainable as they grow? Do you use strict specifications and checkpoints, or a more flexible approach?

And if you give Endless Duel a try, I'd love to hear what you think!

Thanks for reading! :)

27 Upvotes

14 comments sorted by

3

u/2nd_breakfastt 3d ago

Beautiful game man I can tell you’ve spent countless hours working on your artstyle and the visual consistency. I played for a couple rounds on the phone but the text was kind of hard to read for me. Fun concept and looks very polished well done!

2

u/WhatNoRobot 3d ago

Ingenius. Orignal and really satisfying graphics

2

u/aceplayer55 3d ago

Did you use any generated resources to make the UI? Its super polished. I've not had much luck on my UI even with a template. 

1

u/Fancy-Proof-9449 3d ago

Checkpoints, but strict ones. What keeps mine maintainable is that nothing gets committed unless the full build and its checks pass. I tried auto-saving every reply once on another project and it committed half-finished work that broke things, so now it's only at real stopping points.

The other thing that helped was writing down the handful of rules the game can't break, and next to each one, whether a check actually enforces it or not. That second part surprised me. A couple of the most important ones weren't tested anywhere, they just happened to hold. Once you know that, you know where to be careful.

And one handoff note at the root, rewritten at every checkpoint with only the current state. A new session reads that and the git log and it's caught up.

10 bosses is a lot of content for a first game. How did you keep the bosses from feeling the same? That's the part I'd expect AI to drift on.

1

u/Vaelrix 3d ago

Upon scene transitions, on my steam deck, it caused it to lag pretty badly. Made the experience not that good for me. However, the graphical fidelity is extremely high quality, and what I was able to play felt very responsive and smooth. You got something good here, continue doing what you do!

1

u/Vaelrix 3d ago

As far as my approach goes, I do everything I can to test every implementation I put into games and I ensure that every test I create has the capability to fail. A test that stays green regardless is a test that is vacuous. So, I add mutants into the code itself, forcing the tests to go Red. and then I revert the change and make sure it's green again.

I enforce high level determinism into everything that I do. AIs thrive in deterministic environments. The more deterministic it is, the higher value you can get with code being implemented. Iteration becomes a boon rather than a deterrent.

Every project I create has a documentation folder associated with it, kind of like an encyclopedia. I put in bug reports, Product Requirements Documents, Post Implementation Reports, etc. And I have all of this tied to a custom built Model Context Protocol (MCP) so it acts like the memory layer so my AIs don't need to guess when they create something. The documentation is right there along with the github history.

I can go on and on but this is the main things I think that keep me productive.

1

u/SatzKumar 3d ago

I really liked it, way to go bro

1

u/perki51 3d ago

Awesome art bro, I love it 😄 Congratulations on such a neat game. I just launched this platform: JuicyJuicy Games, if your game is free you could also share it there with just one prompt. I would love to have it there, it's so nice! :)

1

u/Agile_Branch_8743 2d ago

The general artstyle looks good. For the UX and the gameplay, I'm not going too much into details because most people posting vibecoded games and products don't even reply to feedback, but the first player UX is very confusing, and the gameplay (crane fight) didn't feel particularly fun or satisfying, so I quit. I would make things way simpler and work on the core before adding all the extra stages and features, but it's too late for that now I think.

1

u/oSi7ENT 2d ago

Beautiful game, not very fun to play

1

u/bob_vramgrid 15h ago

Looks incredible, great work!