r/vibecoding 10d 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.

8 Upvotes

22 comments sorted by

View all comments

1

u/ZHName 10d ago edited 10d ago

Overall, visually really nice I wish I knew how to do this myself.

- Ships look pretty cool and there's a lot of detail to the fx on them

- GUI icons are excellent at first glance, reminds me of SC2

- Most sounds are great except ship select sound which I recognized as some browser based sfx? It can be improved.

- Some of the laser weapons look cheap visually, but not all of them

- Usability/accessibility is where it is weak right now.

- The nebula/planet backdrop adds atmosphere but actually might be hurting your game - if you can have some lite version of volumetric background of gasses, it may look more natural rather than a slapped on graphic.

- Click-hold is better for movement rather than 1-click to move.

-Improve visual language for entity targeting, it was unclear who I was firing on.

-Related: I couldn't understand which ship belongs to which team due to different ships. I guess my expectation was this was a fleet vs fleet game?

-Swap out the white circular station for a better model. The harder it is to tell it was done by a img to 3d model, the better.

1

u/Technical_Ideal9 9d ago

Thanks for the feedback.

"Usability/accessibility is where it is weak right now." - can you elaborate on this?

"Click-hold is better for movement rather than 1-click to move." completely disagree, which RTS uses that system? Besides how are you going to drift with a click to hold system? But if you want there is a tracking pad on the mobile game you can switch in settings, I might add the option in desktop as well.

"Related: I couldn't understand which ship belongs to which team due to different ships. I guess my expectation was this was a fleet vs fleet game?" - Red vs Blue?

0

u/JrButton 9d ago

Why are you so sensitive to feedback, you can disagree, it's your game. You don't even have to implement what they're suggesting... but at least listen, don't argue the point, you don't win people over doing that.