Click or drag to resize
MCTSevaluateControl Method
Finds the outermost pieces on the board and scores the board appropriately. The reason for this is that control of the outer squares in an advantage to both players.

Namespace: VikingChess.Model
Assembly: VikingChess (in VikingChess.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
private double evaluateControl(
	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: Double
A score for the Board that was passed in.
See Also