UNPKG

thaw-reversi-engine.ts

Version:

A Node.js Reversi (Othello) game engine with alpha-beta pruning and a heuristic, packaged for npm.

24 lines (23 loc) 740 B
export declare const testDescriptors: ({ name: string; arrangeFunction: () => { boardAsString: string; gameState: import("./engine").IGameState; maxPly: number; player: string; }; actFunction: (initialData: any) => any; assertFunction: (initialData: any, expect: any, result: any) => void; doNotTestThroughWebService?: undefined; } | { name: string; doNotTestThroughWebService: boolean; arrangeFunction: () => { boardAsString: string; gameState: import("./engine").IGameState; maxPly: number; player: string; }; actFunction: (initialData: any) => any; assertFunction: (initialData: any, expect: any, result: any) => void; })[];