Interface GobanConfig

Hierarchy

  • GobanConfig
    • GobanConfig

Properties

aga_handicap_scoring? allow_ko? allow_self_capture? allow_superko? auth? automatic_stone_removal? black_player_id? board_div? bounds? chat_log? circle_radius? clock? connect_to_chat? disable_analysis? display_width? dont_draw_last_move? dont_show_messages? double_click_submit? draw_bottom_labels? draw_left_labels? draw_right_labels? draw_top_labels? end_time? errors? free_handicap_placement? game_date? game_id? game_name? game_type? getPuzzlePlacementSetting? group_ids? handicap? height? initial_player? initial_state? interactive? isInPushedAnalysis? isPlayerController? isPlayerOwner? komi? ladder? ladder_id? last_move_radius? latencies? leavePushedAnalysis? malkovich_log? marks? mode? move_tree? move_tree_container? moves? name? ogs? ogs_import? onError? onScoreEstimationUpdated? one_click_submit? opponent_plays_first_after_resume? original_disable_analysis? original_sgf? outcome? pause_control? paused_since? phase? player_id? player_pool? players? puzzle_autoplace_delay? puzzle_collection? puzzle_description? puzzle_opponent_move_mode? puzzle_player_move_mode? puzzle_rank? puzzle_type? ranked? removed? rengo? rengo_casual_mode? rengo_teams? review_id? reviews? rules? score? score_handicap? score_passes? score_prisoners? score_stones? score_territory? score_territory_in_seki? server_socket? spectator_log? square_size? start_time? strict_seki_mode? superko_algorithm? throw_all_errors? time_control? time_per_move? title_div? tournament_id? username? variation_stone_transparency? visual_undo_request_indicator? white_must_pass_last? white_player_id? width? winner?

Properties

aga_handicap_scoring?: boolean
allow_ko?: boolean
allow_self_capture?: boolean
allow_superko?: boolean
auth?: string
automatic_stone_removal?: boolean
black_player_id?: number
board_div?: HTMLElement
bounds?: GobanBounds
chat_log?: GobanChatLog
circle_radius?: number
clock?: GameClock
connect_to_chat?: number | boolean
disable_analysis?: boolean
display_width?: number
dont_draw_last_move?: boolean
dont_show_messages?: boolean
double_click_submit?: boolean
draw_bottom_labels?: boolean
draw_left_labels?: boolean
draw_right_labels?: boolean
draw_top_labels?: boolean
end_time?: number
errors?: {
    error: string;
    stack: any;
}[]
free_handicap_placement?: boolean
game_date?: string
game_id?: string | number
game_name?: string
game_type?: "temporary"
getPuzzlePlacementSetting?: (() => PuzzlePlacementSetting)

Type declaration

group_ids?: number[]
handicap?: number
height?: number
initial_player?: PlayerColor
initial_state?: GoEngineInitialState
interactive?: boolean
isInPushedAnalysis?: (() => boolean)

Type declaration

    • (): boolean
    • Returns boolean

isPlayerController?: (() => boolean)

Type declaration

    • (): boolean
    • Returns boolean

isPlayerOwner?: (() => boolean)

Type declaration

    • (): boolean
    • Returns boolean

komi?: number
ladder?: number
ladder_id?: number
last_move_radius?: number
latencies?: {
    [player_id: string]: number;
}

Type declaration

  • [player_id: string]: number
leavePushedAnalysis?: (() => void)

Type declaration

    • (): void
    • Returns void

malkovich_log?: GobanChatLog
marks?: {
    [mark: string]: string;
}

Type declaration

  • [mark: string]: string
mode?: GobanModes
move_tree?: MoveTreeJson
move_tree_container?: HTMLElement
name?: string
ogs?: {
    black_dead_stones: string;
    black_seki_eyes: string;
    black_stones: string;
    black_territory: string;
    white_dead_stones: string;
    white_seki_eyes: string;
    white_stones: string;
    white_territory: string;
}

Type declaration

  • black_dead_stones: string
  • black_seki_eyes: string
  • black_stones: string
  • black_territory: string
  • white_dead_stones: string
  • white_seki_eyes: string
  • white_stones: string
  • white_territory: string
ogs_import?: boolean

Deprecated, I dno't think we need this anymore, but need to be sure

onError?: ((err: Error) => void)

Type declaration

    • (err: Error): void
    • Parameters

      • err: Error

      Returns void

onScoreEstimationUpdated?: ((winning_color: "black" | "white", points: number) => void)

Type declaration

    • (winning_color: "black" | "white", points: number): void
    • Parameters

      • winning_color: "black" | "white"
      • points: number

      Returns void

one_click_submit?: boolean
opponent_plays_first_after_resume?: boolean
original_disable_analysis?: boolean
original_sgf?: string
outcome?: string
pause_control?: AdHocPauseControl
paused_since?: number
player_id?: number
player_pool?: {
    [id: number]: GoEnginePlayerEntry;
}

Type declaration

players?: {
    black: GoEnginePlayerEntry;
    white: GoEnginePlayerEntry;
}

Type declaration

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
ranked?: boolean
removed?: string

Removed stones in stone removal phase

rengo?: boolean
rengo_casual_mode?: boolean
rengo_teams?: {
    black: GoEnginePlayerEntry[];
    white: GoEnginePlayerEntry[];
}

Type declaration

review_id?: number
reviews?: {
    [review_id: number]: GoEnginePlayerEntry;
}

Type declaration

score?: Score
score_handicap?: boolean
score_passes?: boolean
score_prisoners?: boolean
score_stones?: boolean
score_territory?: boolean
score_territory_in_seki?: boolean
spectator_log?: GobanChatLog
square_size?: number | ((goban: GobanCore) => number) | "auto"
start_time?: number
strict_seki_mode?: boolean
superko_algorithm?: GoEngineSuperKoAlgorithm
throw_all_errors?: boolean

When loading initial state or moves, by default GoEngine will try and handle bad data by just resorting to 'edit placing' moves. If this is true, then those errors are thrown instead.

time_control?: JGOFTimeControl
time_per_move?: number
title_div?: HTMLElement
tournament_id?: number
username?: string
variation_stone_transparency?: number
visual_undo_request_indicator?: boolean
white_must_pass_last?: boolean
white_player_id?: number
width?: number
winner?: number | "black" | "white"

Generated using TypeDoc