This protocol provides a modular, secure, and real‑time communication mechanism for multiplayer turn‑based games. Its design enables rapid setup for both simple games (e.g., Tic Tac Toe) and complex games (e.g., Chess). Key features include:
-
Dynamic (“Rolling”) Topics:
Topics are computed dynamically for each game round using a cryptographic hash function on a round number and a secret seed. The seed disclosure is controlled—initially only its hash is published, and it is revealed later in a server‑controlled manner. This prevents outsiders from predicting or preempting game channels. -
Ephemeral (Per‑Game) Keys: