board_to_string: Convert a board to either unicode or ASCII string

Description Usage Arguments Value

Description

Convert a board to either unicode or ASCII string

Usage

1
board_to_string(x, unicode = FALSE, invert_color = FALSE, empty_square = ".")

Arguments

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

Value

A string


chess documentation built on Jan. 13, 2021, 8:31 p.m.