games.cavu.tier-madness.lobby

Announces that a game exists and is taking players. Written by the host, from their own PDS, to their public repo (rkey = game id). Players join by giving the game server the game's 4-character code; the code itself is never published. codeHash is an HMAC of the code under the space host's secret key: unkeyed, all ~1M codes could be hashed in about a second. The server indexes lobbies by codeHash and hashes the code a player gives it.

Repository @pardy.at did:plc:dp7v5b5kejmmzzpwmqyf5wj6 namespace authority
Details · record, key any
Kindrecord
Record keyany
Authoritytier-madness.cavu.games
Indexed

Record

record · key any

Properties

codeHash

requiredstring

HMAC-SHA256 of the normalized code under the space host's secret key (base64url).

  • maxLength: 128

createdAt

requiredstring · datetime

expiresAt

requiredstring · datetime

After this the code no longer admits anyone.

game

requiredstring
  • maxLength: 64

spaceHost

requiredstring · did

The game server hosting the game's spaces; the only party that can check codes.