Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MinMaxStatsMan = minMaxStats{}
Functions ¶
func SortMoveEvalsHighToLow ¶
func SortMoveEvalsHighToLow(s []MoveEval)
func SortMoveEvalsLowToHigh ¶
func SortMoveEvalsLowToHigh(s []MoveEval)
Types ¶
type MoveEval ¶
func CalculateAllMoves ¶
CalculateAllMoves calculates all legal moves for this turn and evaluates them. Doesn't just find the best move, it checks all the moves/
func SmartAiDepthLimited ¶
SmartAiDepthLimited calculates the best move for the AI with a depth-search limit.
func SmartAiTimeBound ¶
SmartAiTimeBound calculates the best move for the AI within a time limit.
Click to show internal directories.
Click to hide internal directories.