Click or drag to resize
MCTSscorePieces Method
Count the number of pieces on the board and score the board appropriately

Namespace: VikingChess.Model
Assembly: VikingChess (in VikingChess.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
private int scorePieces(
	Board board,
	Game game
)

Parameters

board
Type: VikingChess.ModelBoard
The Board to score for.
game
Type: VikingChess.ModelGame
The Game the Board was used in.

Return Value

Type: Int32
A score for the Board that was passed in.
See Also