Description Usage Arguments Value Examples
Implements the minimax algorithm
1 | MiniMax(board, player, tree)
|
board: |
vector: the game board. |
player: |
integer: The player who's move it is. |
player: |
integer: The player who's move it is. |
a list: childValue: integer: The chosen value for the children. child: child of tree: corresponds to bestValu
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.