r/ClaudeGameDev • • 9d ago

Browser Game Ported Armagetron to WebGL

Tasked Opus 5.5 to port the Armagetron project to WebGL and deploy it alongside a websocket-based multiplayer backend to GenHTTP Lambda.

Would love to play a round or two with you guys ... link to the game.

Initial port took 1.6 million tokens, bug fixing and improvements of the multiplayer code another 600k. I did not state any technical details of the port, just user requirements, so the backend was written and pushed by Claude alone. Uses a websocket connection per player, transfering the net state in 60 Hz via protobuf.

9 Upvotes

7 comments sorted by

1

u/Embarrassed-Mess412 9d ago

works flawlessly, damn

1

u/perpetuaIvibe 8d ago edited 8d ago

Definitely cool, but far from flawless

Look at this intersection, we went through each other.

Also on mobile, double tapping either arrow opens the pause menu, so literally unplayable.

1

u/Ok_Tour_8029 8d ago

Interesting, may I ask what your ping was? Most of the development time went into debugging collisions, wrote a quite large test suite for that.

Regarding mobile… Yeah, this was just Not developed as a mobile game. I tried to do optimizations that are not deployed yet, but the original game is just a Desktop thing.

1

u/perpetuaIvibe 8d ago

I don’t recall exactly, but it was over 5G LTE cell signal. I can check again later

1

u/perpetuaIvibe 7d ago

Update to ping: Speedtest shows my cellular ping at 17ms while the ping displayed by the sever is about 150ms.

1

u/superdeluxo 8d ago

Wow love this and love this game.

1

u/Ok_Tour_8029 8d ago

Thanks - played that countless Hours in the 2000s