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

    Interface Player

    A player connected to a Game session.

    interface Player {
        deviceId: string;
        gameId: string;
        id: string;
        isAway: boolean;
        joinedAt: number;
        name: string;
        score: number;
        teamId: string | null;
    }
    Index

    Properties

    deviceId: string

    Stable browser-local UUID stored in localStorage to deduplicate rejoins.

    gameId: string
    id: string
    isAway: boolean

    true when the player's tab is backgrounded (detected via Page Visibility API).

    joinedAt: number
    name: string
    score: number
    teamId: string | null

    null if the player is not on a team (individual mode).