Learn R Programming

chess2plyrs (version 0.3.0)

random_mover: random_mover

Description

engine which chooses randomly between legal moves

Usage

random_mover(game)

Value

game with new move done

Arguments

game

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