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 tier) by hashing every possibility.
tid
Timestamp-based ID
Properties
action
union
Required
createdAt
string
datetime
Required
An RFC 3339 formatted timestamp.
game
string
Required
The game's id.
maxLength: 64 bytesnonce
string
Required
Random, at least 128 bits (base64url).
maxLength: 64 bytesminLength: 16 bytesround
integer
Required
Round number; 0 is the pre-game category vote.
minimum: 0maximum: 20View raw schema
{
"description": "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 tier) by hashing every possibility.",
"key": "tid",
"record": {
"properties": {
"action": {
"refs": [
"#vote",
"#place",
"#swap",
"#double"
],
"type": "union"
},
"createdAt": {
"format": "datetime",
"type": "string"
},
"game": {
"description": "The game's id.",
"maxLength": 64,
"type": "string"
},
"nonce": {
"description": "Random, at least 128 bits (base64url).",
"maxLength": 64,
"minLength": 16,
"type": "string"
},
"round": {
"description": "Round number; 0 is the pre-game category vote.",
"maximum": 20,
"minimum": 0,
"type": "integer"
}
},
"required": [
"game",
"round",
"nonce",
"action",
"createdAt"
],
"type": "object"
},
"type": "record"
}