The object representing the state of the game
The object representing a move in the game
Extra data used in evaluation not suitable for storing in the gamestate
Original root when tree was created
Active root used for the creation and searching of tree. Set to root in constructor.
Number of nodes in tree
Number of leaf nodes in tree
Protected
activeMaximum depth of current search
Callback to get the moves for a gamestate attached to a Node.
Callback to create a child of a parent node using a move
Protected
createProtected
createCreates the full game tree starting from activeRoot.
Uses the GetMoves and CreateChildNode callbacks.
Protected
childGenerated using TypeDoc
Representation of a game tree for any turn based game with any number of players.