games.cavu.tier-madness.commitment

Public commitment to a secret games.cavu.tier-madness.move, written to the game's commitment space (readable by the game's players) under the same rkey as the move. Anyone can later check a revealed move hashes to this CID.

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

Record

record · key tid

Properties

createdAt

requiredstring · datetime

game

requiredstring
  • maxLength: 64

index

integer

For placements: deal order.

  • minimum: 0
  • maximum: 19

kind

requiredstring

Which kind of move, so progress can be shown without revealing it.

  • knownValues: vote | place | swap | double

move

requiredstring · cid

CID (DAG-CBOR, sha-256) of the secret move record.

round

requiredinteger
  • minimum: 0
  • maximum: 20

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

  • One secret move by a player, written (by the game server, on the player's behalf, or by the player) to the round's secret space (skey `{game}-r{round}`). Only the game server can read it until that round's reveal, when the game's players can too (round 0, the category vote, opens at game end). Its CID is published as a games.cavu.tier-madness.commitment (same rkey) in the game's commitment space, so the move can't be changed later. The nonce stops anyone from guessing a low-entropy move (e.g. a

  • A Tier Madness game's shared table (one space per game, keyed by the game's TID): each move's commitment, the host's game record, and everyone's round records. Readable by the game's players.

  • One player's secret moves for one round of a Tier Madness game (one space per round, keyed {game}-r{round}). Only the player can read it until the game server opens the round at its reveal.

  • Declares a game: the roster in seat order and the ballot. Written by the host player, from their own PDS, to the game's commitment space (rkey = game id). With each player's round records and moves it is enough to replay the game: replay checks every player's records agree.

  • One player's account of a finished round, written by every player from their own PDS to the game's commitment space (rkey = `{game}-r{round}`) once the round's reveal starts. Written at the end rather than the start so it can't leak the deal order. Replay checks every player's round records agree.