get_minimax_move: get_minimax_move

View source: R/chess_score1.R

get_minimax_moveR 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


chess2plyrs documentation built on June 8, 2025, 10:03 a.m.