Interface GoEngineConfig

Hierarchy

  • GoEngineConfig

Properties

aga_handicap_scoring?: boolean
allow_ko?: boolean
allow_self_capture?: boolean
allow_superko?: boolean
automatic_stone_removal?: boolean
black_player_id?: number
clock?: GameClock
disable_analysis?: boolean
end_time?: number
errors?: {
    error: string;
    stack: any;
}[]
free_handicap_placement?: boolean
game_date?: string
game_id?: string | number
game_name?: string
group_ids?: number[]
handicap?: number
height?: number
initial_player?: PlayerColor
initial_state?: GoEngineInitialState
komi?: number
ladder?: number
ladder_id?: number
latencies?: {
    [player_id: string]: number;
}

Type declaration

  • [player_id: string]: number
marks?: {
    [mark: string]: string;
}

Type declaration

  • [mark: string]: string
move_tree?: MoveTreeJson
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

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

Type declaration

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

Type declaration

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
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
tournament_id?: number
white_must_pass_last?: boolean
white_player_id?: number
width?: number
winner?: number | "black" | "white"

Generated using TypeDoc