Expand description
The server’s check that the players of a room still play the same game. Every few updates each player sends a digest of its game state. Once every player in the room has sent the digest of an update, they agree, or they differ. When they differ, the game most players have is kept (when as many have one as another, the host’s), and one player who has it sends the others its save.
A digest carries the player’s epoch, the resyncs it has been through: a digest made before a resync is not compared with one made after it, and the first digest of a newer epoch starts the check again.
Structs§
- Checks
- The digests a room’s players have sent, by update.
Enums§
- Verdict
- What a complete check found.
Constants§
- SERVER
- The server’s own game, when it runs one: its digests are the game to keep.