board_to_string {chess} | R Documentation |
Convert a board to either unicode or ASCII string
board_to_string(x, unicode = FALSE, invert_color = FALSE, empty_square = ".")
x |
A board |
unicode |
Use unicode characters? |
invert_color |
Invert piece color? Useful for white text on dark background. |
empty_square |
Character used for empty square |
A string