CONTENT CONTRACT · VERSION 1
puzzle_round
A round of a puzzle's rounds begins anew: the next once one is done, the same again after a wrong step (a handler plays it to the players). A wrong first step of a round is no failure.
Signature
{ failed: boolean, kind: "puzzle_round", player: (PlayerRef)?, puzzle: PuzzleId, round: Count }Fields
| Name | Type | Meaning |
|---|---|---|
failed | boolean | It begins again after a wrong step. |
kind | "puzzle_round" | Discriminant |
player | PlayerRef | Player whose deed began it; absent otherwise. Length: 1…256; Pattern: ^[\s\S]+$ |
puzzle | PuzzleId | The puzzle group. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: puzzle |
round | Count | Rounds done before this one (0 for the first). Range: 0…2147483647; Unit: count |
Validated example
{
"failed": false,
"kind": "puzzle_round",
"player": "p1",
"puzzle": "reference:garden",
"round": 1
}