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

    Interface VariantDescription

    This is a basic description of a variant that will be turned into a VariantJson object later on.

    interface VariantDescription {
        alternatingClues?: true;
        chimneys?: true;
        clueColors?: readonly string[];
        clueRanks?: readonly (1 | 2 | 3 | 4 | 5)[];
        clueStarved?: true;
        colorCluesTouchNothing?: true;
        cowAndPig?: true;
        criticalRanks?: readonly (1 | 2 | 3 | 4 | 5 | 7)[];
        duck?: true;
        funnels?: true;
        name: string;
        oddsAndEvens?: true;
        rankCluesTouchNothing?: true;
        scarceOnes?: true;
        specialRanks?: readonly Readonly<
            {
                allClueColors?: true;
                allClueRanks?: true;
                deceptive?: true;
                noClueColors?: true;
                noClueRanks?: true;
                rank: 1
                | 2
                | 3
                | 4
                | 5
                | 7;
            },
        >[];
        stackSize?: 2
        | 5
        | 1
        | 3
        | 4;
        sudoku?: true;
        suits: readonly string[];
        synesthesia?: true;
        throwItInAHole?: true;
        upOrDown?: true;
    }

    Hierarchy

    Index
    alternatingClues?: true = ...
    chimneys?: true = ...
    clueColors?: readonly string[] = ...

    The colors that players can clue. When omitted, the suits' clue colors.

    clueRanks?: readonly (1 | 2 | 3 | 4 | 5)[] = ...

    The ranks that players can clue. When omitted, 1 through 5.

    clueStarved?: true = ...
    colorCluesTouchNothing?: true = ...
    cowAndPig?: true = ...
    criticalRanks?: readonly (1 | 2 | 3 | 4 | 5 | 7)[] = ...

    The ranks that have one copy in each suit, in increasing order.

    duck?: true = ...
    funnels?: true = ...
    name: string = ...
    oddsAndEvens?: true = ...
    rankCluesTouchNothing?: true = ...
    scarceOnes?: true = ...
    specialRanks?: readonly Readonly<
        {
            allClueColors?: true;
            allClueRanks?: true;
            deceptive?: true;
            noClueColors?: true;
            noClueRanks?: true;
            rank: 1
            | 2
            | 3
            | 4
            | 5
            | 7;
        },
    >[] = ...

    The ranks that clues touch in a special way, in increasing order of rank. A rank has at most one entry.

    stackSize?: 2 | 5 | 1 | 3 | 4 = ...

    The number of cards in each stack. When omitted, 5.

    sudoku?: true = ...
    suits: readonly string[] = ...

    Suit names, which may end in " Reversed".

    synesthesia?: true = ...
    throwItInAHole?: true = ...
    upOrDown?: true = ...