UNPKG

goban

Version:

[![License: Apache-2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

15 lines (14 loc) 659 B
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>;