How Night Nabbers runs a 3D multiplayer stealth game in a browser tab
Night Nabbers is a free, browser-based 3D stealth game where players control a raccoon sneaking past guard dogs and searchlights to steal eggs. It supports solo play against bots or online rooms of up to 16 players, with no download or sign-up required. The developer built the game with TypeScript, Vite, three.js on WebGL2, and Preact for the interface, while online rooms run on Cloudflare Workers and Durable Objects. A key design choice was writing the game rules once in a shared deterministic simulation that runs in both the browser and the server, enabling exact client-side prediction. To keep costs and traffic low, the developer packs multiple streets into a single Durable Object, drops idle rooms, and uses compact five-byte input messages and delta-encoded updates.
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