engine1 {chess2plyrs} | R Documentation |
engine1
Description
engine which chooses minimax between legal moves
Usage
engine1(game, depth)
Arguments
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. |
Value
game with new move done
[Package chess2plyrs version 0.3.0 Index]