Book FindMoveInBook Method Delta Engine Documentation
Find a move from the book View code on GitHub

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

public short FindMoveInBook(
	ChessBoard MovePosS[] arrPreviousMove,
	Random rnd
)

Parameters

arrPreviousMove
Type:  Chess ChessBoard MovePosS 
List of previous moves
rnd
Type: System Random
Random to use to pickup a move from a list. Can be null

Return Value

Type: Int16
Move in the form of StartPos + (EndPos * 256) or -1 if none found
See Also