Description Usage Arguments Value Examples
Implements the minimax algorithm
1 | EvaluateBoard(localBoard)
|
board: |
vector: the game board. |
an integer: 0: no one has one 1: player 1 has won -1: player -1 has won
1 | EvaluateBoard(rep(1:9))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.