r/vibecoding • • 1d ago

Showcase/Project I built a 3D racing game with Claude Code agents. Here's how

Enable HLS to view with audio, or disable this notification

Playable link: https://playproracer.com/?ref=reddit-vibecoding

Pro Racer 26 is a full season against 19 AI rivals, in the browser on desktop or phone. I'm not an engineer; I steered and agents wrote all of it.

How it was built:

- One lead agent per area (physics, rivals, look, pits, onboarding) plans and reviews. Background sub-agents write the code in parallel, each in its own git worktree, so nobody overwrites anyone.

- Day 2 was a screenshot tool, before any gameplay. Agents can't judge a game they can't see, so every change came with stills.

- The physics has no rendering in it and runs the same in Node. Agents test rivals and new tracks by simulating whole races in seconds, not by playing.

- Debug overlays show what each AI car is doing and why ("defending", "diving", "pitting"). That made rival behaviour fixable in plain English.

- Real players drove the rest. A funnel showed that only about half the people who finished the tutorial reached the race, so the tutorial went and new players drop straight into a race with coaching on the radio. Phone load times went from 76 s to 43 s the same way.

Ask me anything about the setup.

21 Upvotes

15 comments sorted by

7

u/CringyCrackersMan 1d ago

U know whats a little better than this? LibreCorsa, a vibecoded game like this but better. https://librecorsa.org/

3

u/elek2ronik 1d ago

That's amazing

2

u/Legitimate-Grape-714 12h ago

room for more than one browser racer out there, especially when OP is breaking down the whole worktree setup for people to learn from

2

u/Warm-Post-96 1d ago

So was this just an AI agent or is there another program it had to also go through to make the game? Is it just built within claude for example? Very cool to see one person making this - it looks great!

2

u/shockwarktonic 18h ago

Just agents

1

u/Warm-Post-96 4h ago

LFG! nice work

1

u/Sweet-Stage938 1d ago

Which LLMs were used?

1

u/shockwarktonic 18h ago

Just Claude, all of their models (mix of fable, opus and sonnet)

0

u/Sweet-Stage938 1d ago

I played it for a while, great work, really fun. There are some bugs on mobile though.

1

u/shockwarktonic 18h ago

Thanks! What bugs did you find?

1

u/No_Story9579 1d ago

Nice Job, my son came in the room as I was playing, he said nice graphics

1

u/Benjaminsen 17h ago

Ahh sweet, here is my attempt at building a high end racing game with AI end to end.
https://compo.tv/w/fast-fable?theater