@hanabi-live/game
    Preparing search index...

    Interface Options

    A game's options with its number of players. The wire leaves the player count out, because each game sends one player name for each seat.

    interface Options {
        allOrNothing: boolean;
        deckPlays: boolean;
        emptyClues: boolean;
        numPlayers: 2 | 3 | 4 | 5;
        oneExtraCard: boolean;
        oneLessCard: boolean;
        timeControl?: Readonly<{ baseSeconds: number; perTurnSeconds: number }>;
        variantRecipe: string;
    }

    Hierarchy (View Summary)

    Index
    allOrNothing: boolean = ...
    deckPlays: boolean = ...
    emptyClues: boolean = ...
    numPlayers: 2 | 3 | 4 | 5
    oneExtraCard: boolean = ...
    oneLessCard: boolean = ...
    timeControl?: Readonly<{ baseSeconds: number; perTurnSeconds: number }> = ...

    The clock of a timed game. Absent when the game is untimed.

    variantRecipe: string = ...

    The recipe of the game's variant. In a request, the server uses the variant of the recipe, or of the same suits in another order, or creates it.