legalmoves | R Documentation |
lists legal moves
legalmoves(game)
game |
chess game object (i.e., a list with elements board, turn, history, and fen_history as created by newgame function) |
character vector
newgame() |>
legalmoves()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.