ash10Ashton S
Galaxy
View
measuring…: show what served this page

Served just now

Measured by this page's request to /api/status: server time per service on the internal network, and the round trip from your browser. A service that isn't answering is left out.

Elderwild

A co-op fantasy voxel RPG that runs entirely in the browser: the simulation in a Web Worker, physics in WebAssembly, and co-op over WebRTC with no game server.

Years
2026 – present
Stack
TypeScript · Three.js · Rapier (WebAssembly) · Web Workers · WebRTC · Service Worker · Node
A still of Elderwild.
self-hosted build · /play/elderwild/not running
Elderwild 0.3.0-alpha.1, the public build at commit c9bd04f, served by this site from /play/elderwild/. Three.js draws on the main thread; the game simulation runs in a Web Worker with Rapier physics compiled to WebAssembly. Everything runs in your browser. Keyboard and mouse.Open in a new tab

Problem

Elderwild 0.1 was a co-op fantasy RPG whose worlds lived on an always-on Node and Socket.IO server with a persistent disk. The game worked, but hosting it became the blocker: a server like that costs money every month whether anyone plays or not, and free capacity was not available. The question became whether the same game, with the same rules and real co-op, could run with no game server at all and still be fair to every player in a session.

What was built

The game was rebuilt local-first. One shared rules-and-physics Simulation class runs on Node, in a browser Web Worker at 30 Hz and in tests, so there is no fork between server and client rules. Three.js draws on the main thread while the worker simulates. Co-op is host-authoritative: guests send only validated intent and commands, never positions or inventory. The build is an offline PWA with a content-hashed service worker, and saves stay on the player’s device.

The engineering

Co-op needs no signalling server. ICE gathering finishes before the SDP is packed into a versioned, length-capped EW3. invitation, so one copy-paste each way opens a WebRTC data channel. Replication sends only the fields that changed, in chunked, backpressured data-channel frames; in one documented movement sample that was 77,678 bytes against 448,063 over 90 ticks. Props are 25 cm destructible voxels whose single exposed-face mesh feeds both rendering and Rapier collision. Publishing refuses unless the browser-test report matches the exact service worker being shipped.

Outcome

Public alpha builds are on GitHub Pages, and this site serves the 0.3.0-alpha.1 build from its own origin so it can run here. No player numbers exist, and none are claimed. Co-op uses STUN only and can fail on some networks, and the host’s tab must stay open. This build predates a Firefox texture fix, so some hardware-accelerated Firefox setups may render surfaces black. Saves stay in this browser. The source is private.

Run it in the Lab

All selected work