The Flock
Started 2020 · updated Nov 2026Mapbox · Socket.IO · JavaScript · Node.js · Docker
A multiplayer flight game played on a real map. Pick a fighter, fly through enemy craft over a 3D city (Portland by default), switch between lasers and torpedoes, and watch other pilots move in real time.
- Browser client on Mapbox: movement runs on elapsed time so craft handle the same at any frame rate, with a radar, health bars, recharge drops, sound effects and a performance HUD.
- Separate Socket.IO server (the-flock-network) that owns the world: enemies are simulated only near living players, craft sit in a spatial grid of about 280 m cells for hit tests, and updates go out as changes-only payloads.
- Both halves ship with Dockerfiles, set up to run as two services on Railway.
Try it!Client sourceServer source
Fighter craft art by kavinveldar (DeviantArt).


