Interface GameClock

interface GameClock {
    black_player_id: number;
    black_time?: ClockTime;
    current_player: number;
    expiration: number;
    expiration_delta?: number;
    game_id: number;
    last_move: number;
    now?: number;
    pause?: {
        pause_control?: {
            [key: string]: boolean;
        };
        paused?: boolean;
        paused_since?: number;
    };
    pause_delta?: number;
    paused_since?: number;
    start_mode?: boolean;
    stone_removal_expiration?: number;
    stone_removal_mode?: boolean;
    title: string;
    white_player_id: number;
    white_time?: ClockTime;
}

Properties

black_player_id: number
black_time?: ClockTime
current_player: number
expiration: number
expiration_delta?: number
game_id: number
last_move: number
now?: number
pause?: {
    pause_control?: {
        [key: string]: boolean;
    };
    paused?: boolean;
    paused_since?: number;
}

Type declaration

  • Optional pause_control?: {
        [key: string]: boolean;
    }
    • [key: string]: boolean
  • Optional paused?: boolean
  • Optional paused_since?: number
pause_delta?: number
paused_since?: number
start_mode?: boolean
stone_removal_expiration?: number
stone_removal_mode?: boolean
title: string
white_player_id: number
white_time?: ClockTime