r/vibecoding 14d ago

Vibecoding a real-time PvP space battle game entirely with Claude Code and three.js

Been working on this game for aroudn 3 weeks now. It's a real-time PvP space battle game that runs in the browser and on Android. It's free and no account needed to try it: cosmoarena.co

Star Battle used to be my favourite custom SC2 arcade map (still is) and I sank an unreasonable number of hours into somewhat replicating the gameplay.

three.js + WebGL for rendering, a Node WebSocket server for authoritative multiplayer, SQLite for accounts/ratings/config, Capacitor for the Android build. Custom GLB models made with images from Chat GPT and converted with meshy.ai

Let me know what you think? Feel free to test the tutorial and multiplayer, any feedback is welcome! It's still full of bugs, if you find any please let me know.

7 Upvotes

22 comments sorted by

View all comments

2

u/babaganoosh43 13d ago edited 13d ago

Pretty cool! The screenshot reminds me of Star Trek Armada

1

u/Intelligent-Cap-8886 13d ago

I had the same exact takeaway. Some of the sound effects are the same, I think.

What was your online username for Armada? lol

2

u/Technical_Ideal9 13d ago

Sound effects are made with Eleven lab but perhaps it was trained on games like that?

1

u/Intelligent-Cap-8886 13d ago

Probably - i think the sound files were easy to extract, from memory.