Viktorani API - v0.0.8
    Preparing search index...

    Interface Game

    A complete game session including configuration, real-time state, and navigation position.

    The buzzerLocked flag and showQuestion / showAnswers / showMedia fields are the authoritative source of truth for the current question's display state. They are synced to players via transport events (BUZZER_LOCK, VISIBILITY, etc.) whenever the GM changes them.

    interface Game {
        allowFalseStarts: boolean;
        allowIndividual: boolean;
        autoLockOnFirstCorrect: boolean;
        buzzDeduplication: BuzzDeduplication;
        buzzerLocked: boolean;
        createdAt: number;
        currentQuestionIdx: number;
        currentRoundIdx: number;
        id: string;
        maxPerTeam: number;
        maxTeams: number;
        name: string;
        passphrase: string | null;
        roomId: string | null;
        roundIds: string[];
        scoringEnabled: boolean;
        showAnswers: boolean;
        showMedia: boolean;
        showQuestion: boolean;
        status: GameStatus;
        tiebreakerMode: "serverOrder";
        transportMode: TransportMode;
        updatedAt: number;
    }
    Index

    Properties

    allowFalseStarts: boolean

    Whether false-start buzzes (arriving while locked) are recorded.

    allowIndividual: boolean
    autoLockOnFirstCorrect: boolean

    Lock the buzzer automatically after the first correct adjudication.

    buzzDeduplication: BuzzDeduplication
    buzzerLocked: boolean
    createdAt: number
    currentQuestionIdx: number
    currentRoundIdx: number
    id: string
    maxPerTeam: number

    Maximum players per team; 0 means unlimited.

    maxTeams: number

    Maximum number of teams allowed; 0 means unlimited.

    name: string
    passphrase: string | null

    Four-word Gun.js SEA passphrase. null before the game starts.

    roomId: string | null

    Six-character room code shared with players (e.g. 'XK7RQZ'). null before the game starts.

    roundIds: string[]

    Ordered array of Round IDs.

    scoringEnabled: boolean
    showAnswers: boolean
    showMedia: boolean
    showQuestion: boolean
    status: GameStatus
    tiebreakerMode: "serverOrder"
    transportMode: TransportMode
    updatedAt: number