writefen | R Documentation |
write fen (Forsyth–Edwards Notation) notation
writefen(game, cb = NULL, tb = NULL, cb_tb_insteadof_game = FALSE)
game |
chess game object (i.e., a list with elements board, turn, history, and fen_history as created by newgame function) |
cb |
chess board if cb_tf_insteadof_game set to TRUE |
tb |
turn if cb_tf_insteadof_game set to TRUE |
cb_tb_insteadof_game |
if FALSE, uses game to create fen, if TRUE it uses cb and tb |
fen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.