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.
5 lines (4 loc) • 307 B
TypeScript
import { JGOFMove } from "../formats/JGOF";
/** Returns a sorted move string, this is used in our stone removal logic */
export declare function sortMoves(moves: string, width: number, height: number): string;
export declare function sortMoves(moves: JGOFMove[], width: number, height: number): JGOFMove[];