games.cavu.tier-madness.game

chris.pardy.family

Documentation

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.

main record

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.

Record Key any Any valid record key

Properties

ballot array of string Required

Categories offered in the pre-game vote.

maxLength: 20 itemsminLength: 1 items
createdAt string datetime Required

An RFC 3339 formatted timestamp.

game string Required

No description available.

maxLength: 64 bytes
host string did Optional

The player who started the game.

totalRounds integer Required

No description available.

minimum: 1maximum: 20
View raw schema
{
  "description": "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.",
  "key": "any",
  "record": {
    "properties": {
      "ballot": {
        "description": "Categories offered in the pre-game vote.",
        "items": {
          "maxLength": 300,
          "type": "string"
        },
        "maxLength": 20,
        "minLength": 1,
        "type": "array"
      },
      "createdAt": {
        "format": "datetime",
        "type": "string"
      },
      "game": {
        "maxLength": 64,
        "type": "string"
      },
      "host": {
        "description": "The player who started the game.",
        "format": "did",
        "type": "string"
      },
      "players": {
        "description": "In seat order; the criteria picker goes round this circle.",
        "items": {
          "ref": "games.cavu.tier-madness.defs#gamePlayer",
          "type": "ref"
        },
        "maxLength": 12,
        "minLength": 1,
        "type": "array"
      },
      "scale": {
        "description": "The tier list's scale: an ordinal scale, S highest. Every placement's value is on it.",
        "ref": "games.cavu.tier-madness.defs#scale",
        "type": "ref"
      },
      "totalRounds": {
        "maximum": 20,
        "minimum": 1,
        "type": "integer"
      }
    },
    "required": [
      "game",
      "players",
      "totalRounds",
      "ballot",
      "scale",
      "createdAt"
    ],
    "type": "object"
  },
  "type": "record"
}

Lexicon Garden

@