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) 281 B
export declare function escapeSGFText(txt: string, escapeColon?: boolean): string; /** * SGF "simple text", eg used in the LB property, we can't have newlines. This * strips them and replaces them with spaces. */ export declare function newlines_to_spaces(txt: string): string;