engine1 | R Documentation |
engine which chooses minimax between legal moves
engine1(game, depth)
game |
chess game object (i.e., a list with elements board, turn, history, and fen_history as created by newgame function) |
depth |
depth of the minimax. depth of 1 and 2 are fairly rapid. |
game with new move done
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.