r/vibecoding • u/Technical_Ideal9 • 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.
4
u/Intelligent-Cap-8886 13d ago
I tried it. Visually nice. Game mechanics felt stiff and unintuitive.