Learn R Programming

chess2plyrs (version 0.3.0)

get_minimax_move: get_minimax_move

Description

minimax engine

Usage

get_minimax_move(game, depth)

Value

minimax engine

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