Can synchronization and an initial economy sustain a fun multiplayer match?
Synchronize lobby, resources, and construction at low latency before investing in the complete game economy.
CASE FILE. 03 / STRATEGY / GAME
A multiplayer strategy game inspired by Tribal Wars 2. The prototype covers authentication, lobby, worlds, realtime, and the first resource-and-construction loop.
BRIEF. 01 / PROBLEM AND BOUNDARY
A deliberate view of the current state. Metrics and the hypothesis remain editorial until public evidence can replace them.
Synchronize lobby, resources, and construction at low latency before investing in the complete game economy.
SYSTEM TRACE. 02 / PRIMARY FLOW
React client → Socket.IO gateway → Node.js world loop → Firebase authentication.
React / commands and projections
Socket.IO / rooms and presence
Resources, queue, and server clock
Memory now / explicit roadmap
intent → policy → authoritative state → observable effectAn editorial sequence for discussing contract, authority, and effect. It does not represent real production telemetry.
Emits an intent with the known world version.
build.requestedAuthenticates presence, room, and event contract.
command.acceptedValidates resources, queue, and clock on the authoritative server.
build.started | rejectedAdvances the version and publishes the room projection.
world.version + 1DECISION LOG. 03 / TRADE-OFFS
Validate the realtime loop in memory and declare persistence as a gap instead of pretending the infrastructure is ready.
RELIABILITY. 04 / FAIL WITH CONTEXT
These are not published production metrics. They are risks the design must make observable and candidate signals for the next round.
A client returns after a disconnect with a projection older than the server.
Two simultaneous commands compete for the same resource or queue slot.
A process restart invalidates the world still held in memory.
Version difference between the client snapshot and authoritative state.
Commands rejected because of balance, clock, or queue conflict.
Reconnection rate that returns to the game without manual intervention.
INCIDENT DRILL. 05 / CONTAINMENT → RECOVERY → PROOF
Editorial resilience exercises, not real incidents or production runbooks. Each drill turns a failure mode into a response that can be discussed and tested.
DESIGN EXERCISE / REVIEW AGAINST REAL TELEMETRY AND RUNBOOKS BEFORE OPERATING
EVIDENCE. 06 / WHAT CAN BE DEFENDED
Persist world state, add reconciliation, and test simultaneous command conflicts.

INTERVIEW MODE. 07 / DEEPEN THE CONVERSATION
Questions that connect the case to system design, product, and operations without turning a contextual decision into a universal rule.
How to migrate an in-memory prototype to persistence without blocking the loop.
↗When to send an incremental event and when to rebuild a snapshot.
↗How to test clocks, economy, and concurrent conflicts deterministically.
↗CASE FILE / 03