ChessBoard FindBestMove Method Delta Engine Documentation
Find the best move for a player using alpha-beta pruning or minmax search View code on GitHub

Namespace: Chess
Assembly: Chess (in Chess.exe) Version: 1.1.1.0 (1.1.1)
Syntax

public bool FindBestMove(
	SearchEngine SearchMode searchMode,
	ChessBoard PlayerColorE ePlayerColor,
	out ChessBoard MovePosS moveBest,
	out int iPermCount,
	out int iCacheHit,
	out int iMaxDepth
)

Parameters

searchMode
Type: Chess SearchEngine SearchMode
Search mode
ePlayerColor
Type: Chess ChessBoard PlayerColorE
Color doing the move
moveBest
Type: Chess ChessBoard MovePosS 
Best move found
iPermCount
Type: System Int32 
Total permutation evaluated
iCacheHit
Type: System Int32 
Number of moves found in the translation table cache
iMaxDepth
Type: System Int32 
Maximum depth reached

Return Value

Type: Boolean
true if a move has been found
See Also