random_mover: random_mover

View source: R/random_mover.R

random_moverR Documentation

random_mover

Description

engine which chooses randomly between legal moves

Usage

random_mover(game)

Arguments

game

chess game object (i.e., a list with elements board, turn, history, and fen_history as created by newgame function)

Value

game with new move done


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