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.
15 lines (14 loc) • 552 B
TypeScript
import { ServerToClient } from "./ServerToClient";
export interface AIServerToClient {
/** Pong response from a ping */
"net/pong": ServerToClient["net/pong"];
/** AI review messages are streamed back to the AI review UUID. */
[uuid: string]: (data: any) => void;
/** AI position analysis messages streaming back to a particular channel */
[k: `ai-position-analysis-stream-review-${string}`]: (data: {
board_string: string;
analysis: any;
final: boolean;
intermediate: boolean;
}) => void;
}