IBoardEvaluation Points Method Delta Engine Documentation
Evaluates a board. The number of point is greater than 0 if white is in advantage, less than 0 if black is. View code on GitHub

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

int Points(
	ChessBoard PieceE[] pBoard,
	int[] piPiecesCount,
	ChessBoard PosInfoS posInfo,
	int iWhiteKingPos,
	int iBlackKingPos,
	bool bWhiteCastle,
	bool bBlackCastle,
	int iMoveCountDelta
)

Parameters

pBoard
Type:  Chess ChessBoard PieceE 
Board.
piPiecesCount
Type:  System Int32 
Number of each pieces
posInfo
Type: Chess ChessBoard PosInfoS
Information about pieces position
iWhiteKingPos
Type: System Int32
Position of the white king
iBlackKingPos
Type: System Int32
Position of the black king
bWhiteCastle
Type: System Boolean
White has castled
bBlackCastle
Type: System Boolean
Black has castled
iMoveCountDelta
Type: System Int32
Number of possible white moves - Number of possible black moves

Return Value

Type: Int32
Points
See Also