EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

PuzzleRoundEvent

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

NameTypeMeaning
failedbooleanIt begins again after a wrong step.
kind"puzzle_round"Discriminant
playerPlayerRefPlayer whose deed began it; absent otherwise.
Length: 1…256; Pattern: ^[\s\S]+$
puzzlePuzzleIdThe puzzle group.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: puzzle
roundCountRounds done before this one (0 for the first).
Range: 0…2147483647; Unit: count