B7 · module 2 of 6 · Rooms, Modes, and the Secret
Rooms, modes, and the secret.
A room is a template carrying a mode; a game is one instance in it that snapshots the template and pins a secret of six distinct codes, immutable for its life and, in a Golden Room, sealed behind a commitment until reveal.
Three dives: the room as template and mode, the emoji set and its codes, and the secret and its commitment across the classic and the blind mode.
The three dives
each a leaf, the teachingRoom as template and mode
A room is a template, not a game. A ROM holds the durable settings — an emoji set, a duration, a guess fee, whether it is paid or…
The emoji set
The emoji a player taps are codes, not characters. An EMS emoji set is the subset of cells a room exposes from a sprite sheet, and the…
The secret and its commitment
When a game opens it draws six distinct codes from its emoji set — the secret — and that secret does not change for the game’s…
The module, in one law
codemojex · rooms, the game, and the secretB7.2 is where a room becomes a game. A ROM is a template — an emoji set, a duration, a fee, a seed pool, and a mode with its four policies — and a GAM is one game played in it, which at open snapshots the template, draws a secret of six distinct codes from the set, and runs on a timer with a state. A player’s place is a reified RMP membership with a display alias. The emoji are XXYY codes addressing cells of an EMS set backed by an RSC sprite sheet, and a Golden Room draws from a reduced set so the blind game stays tractable. The secret is immutable for the game and, in a Golden Room, sealed behind a commitment published at open and revealed at close, so the blind mode is provably fair. Three dives: the room as template and mode, the emoji set and its codes, and the secret and its commitment.
The doors
the sibling coursesEchoMQ — the protocol, in depth
The bus B3 narrates, taught rung by rung: the keyspace, the Lua inventory, and the 3.0 Stream Tier — XADD, XREADGROUP, XACK — with conformance on Valkey.
Redis Patterns Applied
The substrate patterns under the bus: sorted sets, atomic Lua moves, locks, and streams — the judgement layer.
/echo-persistenceEcho Persistence — the durable floor
Beneath the volatile tiers: the Graft page engine built twice, the commit-LSN loop, and the stream archive on Tigris. Where Part I says state lives somewhere, this says where it lives durably.
References
sources · relatedSources
- Helland — Life Beyond Distributed Transactions (CIDR 2007)a room template and a game as durable entities a record can hold
- Commitment schemes — hiding and bindingthe commit-and-reveal that seals a Golden Room's secret
- Erlang/OTP — the ets modulethe read-hot cache that holds a game's immutable secret and set
Related
- BCS — the course homethe law, the id anatomy, the chapter map
- Echo Persistencethe durable floor beneath the bus