tibble data frames of setups for 5 chess variants.
Data frame output can usually be plotted with pmap_piece(df, default.units = "in").
Usage
chess_chess(cell_width = getOption("ppdf.chess_cell_width", 1))
chess_chess960(seed = NULL, cell_width = getOption("ppdf.chess_cell_width", 1))
chess_fischer_random_chess(
seed = NULL,
cell_width = getOption("ppdf.chess_cell_width", 1)
)
chess_horde_chess(..., cell_width = getOption("ppdf.chess_cell_width", 1))
chess_international_chess(cell_width = getOption("ppdf.chess_cell_width", 1))
chess_monochrome_chess(cell_width = getOption("ppdf.chess_cell_width", 1))
chess_racing_kings(cell_width = getOption("ppdf.chess_cell_width", 1))Value
A tibble::tibble() data frame with the following columns:
"piece_side"
"suit"
"rank"
"cfg" (optional, defaults to
"piecepack")"x"
"y"
"angle" (optional, defaults to
0).
This data frame is compatible with piecepackr::render_piece() and likely ppcli::cat_piece().
Details
Here are links for more information about the various games:
| Game | URL |
| (International) Chess | https://en.wikipedia.org/wiki/Chess |
| Fischer Random Chess AKA Chess960 | https://www.chessvariants.com/diffsetup.dir/fischer.html |
| Horde Chess | https://lichess.org/variant/horde |
| Monochrome Chess | https://wunderland.com/WTS/Andy/Games/monochess.html |
| Racing Kings | https://www.chessvariants.com/diffobjective.dir/racing.html |