Building a multiplayer game server in Go and Webassembly
summary
Prototype multiplayer browser game with a Triebwerk server in Go that uses gorilla WebSocket, packs game state into compact byte arrays (example: JSON ~1KB vs binary ~240 bytes) and runs in ~5MB RAM; collision uses the separating axis theorem and bullets use point-in-polygon checks; client runs the same logic compiled to a WebAssembly module for client prediction (wasm ≈2MB), supports ~10–20 players and low-latency play as a proof of concept though live demo suffers from Wi‑Fi/WebSocket fragility.
AI-written summary · about
