Interface VariantDescription

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

interface VariantDescription {
    alternatingClues?: boolean;
    chimneys?: boolean;
    clueColors?: readonly string[];
    clueRanks?: readonly (1 | 2 | 3 | 4 | 5)[];
    clueStarved?: boolean;
    colorCluesTouchNothing?: boolean;
    cowAndPig?: boolean;
    criticalRank?: 7 | 3 | 1 | 2 | 4 | 5;
    duck?: boolean;
    funnels?: boolean;
    name: string;
    oddsAndEvens?: boolean;
    rankCluesTouchNothing?: boolean;
    specialRank?: 7 | 3 | 1 | 2 | 4 | 5;
    specialRankAllClueColors?: boolean;
    specialRankAllClueRanks?: boolean;
    specialRankDeceptive?: boolean;
    specialRankNoClueColors?: boolean;
    specialRankNoClueRanks?: boolean;
    stackSize?: 3 | 1 | 2 | 4 | 5;
    sudoku?: boolean;
    suits: readonly string[];
    synesthesia?: boolean;
    throwItInAHole?: boolean;
    upOrDown?: boolean;
}

Hierarchy (View Summary)

Properties

alternatingClues?: boolean
chimneys?: boolean
clueColors?: readonly string[]
clueRanks?: readonly (1 | 2 | 3 | 4 | 5)[]
clueStarved?: boolean
colorCluesTouchNothing?: boolean
cowAndPig?: boolean
criticalRank?: 7 | 3 | 1 | 2 | 4 | 5
duck?: boolean
funnels?: boolean
name: string
oddsAndEvens?: boolean
rankCluesTouchNothing?: boolean
specialRank?: 7 | 3 | 1 | 2 | 4 | 5
specialRankAllClueColors?: boolean
specialRankAllClueRanks?: boolean
specialRankDeceptive?: boolean
specialRankNoClueColors?: boolean
specialRankNoClueRanks?: boolean
stackSize?: 3 | 1 | 2 | 4 | 5
sudoku?: boolean
suits: readonly string[]
synesthesia?: boolean
throwItInAHole?: boolean
upOrDown?: boolean