random_mover {chess2plyrs}R 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


[Package chess2plyrs version 0.3.0 Index]