goban
Version:
[](https://opensource.org/licenses/Apache-2.0)
15 lines (14 loc) • 659 B
TypeScript
import { JGOFAIReview, JGOFIntersection, JGOFNumericPlayerColor } from "../formats/JGOF";
import { MoveTree } from "../MoveTree";
export interface AIReviewWorstMoveEntry {
player: JGOFNumericPlayerColor;
delta: number;
move_number: number;
move: JGOFIntersection;
}
/**
* Returns a list of the worst moves in the game, as determined by the change in
* win rate or score, depending on what is provided in the ai review. So the
* first entry will be the worst move in the game according to the ai.
*/
export declare function getWorstMoves(starting_move: MoveTree, ai_review: JGOFAIReview, max_moves?: number): Array<AIReviewWorstMoveEntry>;