BoardEvaluationBasic 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

public virtual 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 move - Number of possible black move

Return Value

Type: Int32
Points

Implements

IBoardEvaluation Points( ChessBoard PieceE ,  Int32 , ChessBoard PosInfoS, Int32, Int32, Boolean, Boolean, Int32)
See Also