Developer builds serverless multiplayer browser game using real orbital physics

A developer has released Lagario 3: Órbita, a free multiplayer browser game inspired by agar.io where players navigate planets governed by inverse-square gravity and real momentum. The game runs entirely without a dedicated game server — the room creator's browser hosts the simulation via a Web Worker, while other players connect through WebRTC using Nostr relays for signalling. To handle host disconnections, the system automatically migrates hosting to the next peer in roster order, restoring the latest world checkpoint and bumping an epoch number to resolve conflicts. Physics are shared between host and client through a single module, with gravity tweaked for playability by scaling pull relative to each planet's thrust capacity. The game is playable for free on desktop and mobile at lagario.thomasar.dev with no account required.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in