game_kit
creates a game kit R6 object.
game_kit(cfgs = NULL)
A named list of piecepackr::pp_cfg()
configuration list objects.
If NULL
(default) we will use the "piecepack" configuration from
piecepackr::game_systems()
.
cfg <- piecepackr::game_systems()$dual_piecepacks_expansion
gk <- game_kit(list(cfg = cfg))
if (Sys.which("xelatex") != "") {
output <- tempfile(fileext = ".pdf")
save_pamphlet("tablut", gk = gk, output = output)
# xopen::xopen(output)
# browseURL(output)
}