writefen {chess2plyrs} | R Documentation |
writefen
Description
write fen (Forsyth–Edwards Notation) notation
Usage
writefen(game, cb = NULL, tb = NULL, cb_tb_insteadof_game = FALSE)
Arguments
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 |
Value
fen
[Package chess2plyrs version 0.3.0 Index]