UNPKG

goban-engine

Version:

This contains the built Go engine that is used by the Goban package. There are no display components in this package, only the logic for playing the game of Go, making it suitable for usage in node.js or other server-side environments.

3 lines (2 loc) 246 B
export declare function init_wasm_ownership_estimator(): Promise<boolean>; export declare function wasm_estimate_ownership(board: number[][], color_to_move: "black" | "white", trials: number, tolerance: number): import("../util").Matrix<number>;