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.

53 lines (52 loc) 1.63 kB
export interface GobanStrings { "Your move": string; "White": string; "Black": string; "Illegal Ko Move": string; "Move is suicidal": string; "Loading...": string; "Processing...": string; "Submitting...": string; "A stone has already been placed here": string; "Illegal board repetition": string; "Error submitting move": string; "Game Finished": string; "Black to move": string; "White to move": string; "Your move - opponent passed": string; "Review": string; "Control passed to %s": string; "Synchronization error, reloading": string; "Stone Removal": string; "Stone Removal Phase": string; "Enter the label you want to add to the board": string; "Error": string; "Self-capture is not allowed": string; "The game would be repeating with that move, please play somewhere else first": string; "Black Walnut": string; "Book": string; "Glass": string; "Granite": string; "HNG Night": string; "HNG": string; "Kaya": string; "Bright Kaya": string; "Night Play": string; "Night": string; "Persimmon": string; "Plain": string; "Custom": string; "Red Oak": string; "Shell": string; "Slate": string; "Worn Glass": string; "Anime": string; "%swk": string; "%sd": string; "%sh": string; "%sm": string; "%ss": string; } export declare function setGobanTranslations(_catalog: GobanStrings, _debug_mode?: boolean): void; export declare function interpolate(str: string, params: any): string; export declare function _(msgid: keyof GobanStrings): string;