Real-time multiplayer world
An authoritative game server manages a small cooperative game world. Players send inputs, view smoothed state snapshots and receive confirmed rewards. Session operations and moderation handle disconnections and suspicious inputs.
Follow the design
Business workflow
An authoritative game server manages a small cooperative game world. Players send inputs, view smoothed state snapshots and receive confirmed rewards. Session operations and moderation handle disconnections and suspicious inputs.
These questions are answered by the case
- A session with a maximum of 32 players
- Server-authoritative movement and one-time pickup of world items
- Reconnection within the same session
- Permanently confirmed rewards
These questions remain open
- A shared global game world
- Trade between players
- Paid items and full fraud detection
Join a session
Players log in and enter an available session.
Change the world together
Players try to pick up a crystal.
Confirm the result
Session operations restores confirmed results after failure.
Domain subsystems and their interactions
Join a session → change the world together → confirm the result. An authoritative game server manages a small cooperative world. Players send inputs, view smoothed state snapshots and receive confirmed rewards. Session operations and moderation handle disconnections and suspicious inputs.
Players send inputs and view confirmed game state. Session operations resolves interrupted sessions and restores game servers. Moderation reviews suspicious inputs and records decisions about bans. Platform operations manages session assignment and durable reward records. The authentication service confirms identity when joining a session.
Input ordering
Checks session, generation and input sequence.
Described in the designSimulation
Calculates positions at 20 ticks/s.
Described in the designItem allocation
Decides one-time pickups using server-side distance.
Described in the designState output
Creates replaceable state snapshots for visible characters.
Described in the designReconnection
Connects identity, current generation and existing records.
Described in the design
Tasks and responsibilities
An authoritative game server manages a small cooperative game world. Players send inputs, view smoothed state snapshots and receive confirmed rewards. Session operations and moderation handle disconnections and suspicious inputs.
Checks session, generation and input sequence.
Calculates positions at 20 ticks/s.
Decides one-time pickups using server-side distance.
Creates replaceable state snapshots for visible characters.
Connects identity, current generation and existing records.
Practical examples
- Glenn Fiedler · Snapshot Interpolation ↗
The author’s primary technical source for smoothing state snapshots. This example’s scale, limits and persistence rules are independent assumptions.
A fictional example design: one session with at most 32 players, server-authoritative movement, one-time pickup of world items, reconnection within the same session and durably confirmed rewards. Figures and quality goals are illustrative test assumptions. A shared global game world, player trading, paid items and comprehensive fraud detection are outside the scope.