Mansions Online
A digital game master and online mode for a co-op board game
About the project
A digital game master for a cooperative cosmic-horror board game — the app drives the story, map reveals and events while players team up in the browser with a room code. Every rule is refereed by the server, and each scenario is state-machine data run by a single interpreter.
Mansions Online lets a table of a cooperative board game start a session online. The app plays game master — narrating, revealing the map, placing tokens and running events — so players only make decisions.
The guiding rule is "never guess". When a rule hasn't been verified or data is missing, the app saves and stops rather than borrowing a similar rule. Cutscenes, camera moves and music each follow their own timeline and are never skipped automatically.
Since 0.8.0 the first scenario can be played online from setup to ending; the rest are still being verified. Playtesting is open to studio members only — after clicking Play, sign in with a one-time code sent to an approved email.
Mansions Online
Highlights
- 01
Scenarios as data
Scenarios aren't hand-coded flows but state-machine data — one scenario alone has 600-plus machines and more than 5,500 states, all run by a single interpreter. Anything not yet implemented saves and stops explicitly instead of skipping or guessing.
- 02
The server is the referee
Clients only send intents — never stats, dice faces, success counts or story conditions. Hidden scenario data, RNG state and other players' tokens never leave the server.
- 03
Saves that survive anything
Every write carries a version and a request ID — conflicts return 409 and duplicates are dropped. Saves go to a temp file and are atomically swapped in, so rooms come back after a server restart.
- 04
Room-code multiplayer
One player opens a room and shares a six-digit code. In co-op mode anyone can advance; in host mode only the host moves the story on. State syncs live over Server-Sent Events.
- 05
Zero dependencies
The whole server uses nothing but Node's built-in modules — not a single third-party dependency — and ships with a Dockerfile and compose file, so one command brings it up.
- 06
Evidence before claims
Every batch of changes has to pass over a thousand automated tests and leave a traceable rule audit behind. A rule without evidence doesn't count as done.