Room Protocol
The protocol specification between a room instance and the game client, after the client resolves the room through Discovery.
Phases
- Well-known: the client discovers the room's capabilities (
/.well-known/game-room). - Handshake: session agreement, with an ECDH key unique to each client.
- Schema: the room defines the format of the
$.server,$.me, and$.othersdictionaries. - State sync: reactive state exchange, with caching by
_idandttl_ms.
Details are on each page of this section.