board_to_string {chess}R Documentation

Convert a board to either unicode or ASCII string

Description

Convert a board to either unicode or ASCII string

Usage

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


[Package chess version 1.0.1 Index]