get_minimax_move {chess2plyrs}R Documentation

get_minimax_move

Description

minimax engine

Usage

get_minimax_move(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

algorithm depth

Value

minimax engine


[Package chess2plyrs version 0.3.0 Index]