UNPKG

goban

Version:

[![License: Apache-2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

15 lines (14 loc) 678 B
import { JGOFNumericPlayerColor, JGOFSealingIntersection, JGOFMove } from "./formats/JGOF"; import { GobanEngineRules } from "./GobanEngine"; interface AutoscoreResults { result: JGOFNumericPlayerColor[][]; sealed_result: JGOFNumericPlayerColor[][]; removed: JGOFMove[]; needs_sealing: JGOFSealingIntersection[]; } export declare function autoscore(board: JGOFNumericPlayerColor[][], rules: GobanEngineRules, black_plays_first_ownership: number[][], white_plays_first_ownership: number[][]): [AutoscoreResults, DebugOutput]; /******************************/ /*** Debug output functions ***/ /******************************/ type DebugOutput = string; export {};