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.

7 lines (6 loc) 298 B
/** * This estimator simply marks territory for whichever color has a * closer stone (Manhattan distance). See discussion at * https://forums.online-go.com/t/weak-score-estimator-and-japanese-rules/41041/70 */ export declare function voronoi_estimate_ownership(board: number[][]): number[][];