Setups for other games playable with a checkers set
Source:R/checker_games_other.R
checker_games_other.Rdtibble data frames of setups for 11 other games playable with a checkers set.
Data frame output can usually be plotted with pmap_piece(df, default.units = "in").
Usage
checker_breakthrough(cell_width = getOption("ppdf.checker_cell_width", 1))
checker_crossings(cell_width = getOption("ppdf.checker_cell_width", 1))
checker_dao(cell_width = getOption("ppdf.checker_cell_width", 1))
checker_dodgem(
nrows = 3L,
cell_width = getOption("ppdf.checker_cell_width", 1)
)
checker_focus(cell_width = getOption("ppdf.checker_cell_width", 1))
checker_four_field_kono(cell_width = getOption("ppdf.checker_cell_width", 1))
checker_grasshopper(cell_width = getOption("ppdf.checker_cell_width", 1))
checker_jeson_mor(cell_width = getOption("ppdf.checker_cell_width", 1))
checker_julgonu(cell_width = getOption("ppdf.checker_cell_width", 1))
checker_kangaroo(cell_width = getOption("ppdf.checker_cell_width", 1))
checker_lines_of_action(cell_width = getOption("ppdf.checker_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:
Examples
df <- checker_four_field_kono()
if (require("piecepackr", quietly = TRUE) &&
packageVersion("piecepackr") >= "1.15.0-1") {
grid::grid.newpage()
render_piece(df, open_device = FALSE, annotate = TRUE)
}