Viking Chess Documentation
Viking Chess Documentation
VikingChess Namespaces
VikingChess.Model
MCTS Class
MCTS Methods
evaluateBoard Method
evaluateControl Method
generateNodes Method
makeMove Method
PerformSteps Method
scorePieces Method
SimulateGame Method
MCTS
scorePieces 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#
Copy
private
int
scorePieces
(
Board
board
,
Game
game
)
Parameters
board
Type:
VikingChess.Model
Board
The
Board
to score for.
game
Type:
VikingChess.Model
Game
The
Game
the
Board
was used in.
Return Value
Type:
Int32
A score for the
Board
that was passed in.
See Also
Reference
MCTS Class
VikingChess.Model Namespace
Copyright Declan Murphy 2016
Send comments on this topic to
masterdex@live.ie