Interface PuzzleConfig

interface PuzzleConfig {
    black_prisoners?: number;
    board?: JGOFNumericPlayerColor[][];
    board_is_repeating?: boolean;
    height?: number;
    initial_player?: PlayerColor;
    initial_state?: GobanEngineInitialState;
    isobranch_hash?: string;
    marks?: {
        [mark: string]: string;
    };
    mode?: string;
    move_tree?: MoveTreeJson;
    name?: string;
    player?: JGOFNumericPlayerColor;
    puzzle_autoplace_delay?: number;
    puzzle_collection?: number;
    puzzle_description?: string;
    puzzle_opponent_move_mode?: PuzzleOpponentMoveMode;
    puzzle_player_move_mode?: PuzzlePlayerMoveMode;
    puzzle_rank?: number;
    puzzle_type?: string;
    removal?: boolean[][];
    white_prisoners?: number;
    width?: number;
}

Hierarchy (view full)

Properties

black_prisoners?: number
board_is_repeating?: boolean
height?: number
initial_player?: PlayerColor
initial_state?: GobanEngineInitialState
isobranch_hash?: string
marks?: {
    [mark: string]: string;
}

Type declaration

  • [mark: string]: string
mode?: string
move_tree?: MoveTreeJson
name?: string
puzzle_autoplace_delay?: number
puzzle_collection?: number
puzzle_description?: string
puzzle_opponent_move_mode?: PuzzleOpponentMoveMode
puzzle_player_move_mode?: PuzzlePlayerMoveMode
puzzle_rank?: number
puzzle_type?: string
removal?: boolean[][]
white_prisoners?: number
width?: number