R/fct_chessjs.R
legal_moves.Rd
List every legal move in a position, in UCI
legal_moves(ctx, fen)
A chess.js V8 context from new_chess_context().
new_chess_context()
A FEN string.
A character vector of UCI moves (empty if the position is over or invalid).