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

    Interface GameMetadata

    This is for data that does not change once a game starts.

    interface GameMetadata {
        customDeal: boolean;
        hardVariant: boolean;
        minEfficiency: number;
        options: Options;
        ourPlayerIndex: 0 | 2 | 1 | 3 | 4 | undefined;
        ourUsername: string;
        playerNames: Readonly<Tuple<string, 2 | 3 | 4 | 5>>;
        seed: string | undefined;
    }
    Index
    customDeal: boolean
    hardVariant: boolean

    Whether or not this is considered a "hard" variant by the H-Group.

    minEfficiency: number

    The minimum efficiency required in order to get a perfect score in the chosen variant.

    options: Options
    ourPlayerIndex: 0 | 2 | 1 | 3 | 4 | undefined

    Our seat: the one that we play in, the one that we shadow, or, in a replay, the one that we played in. Absent when we have none, such as when we spectate without shadowing. Then we see every card.

    ourUsername: string
    playerNames: Readonly<Tuple<string, 2 | 3 | 4 | 5>>
    seed: string | undefined

    Absent for a game with its own deck instead of a seed, such as an imported one.