save_rulebook: Save rulebook

View source: R/rules.R

save_rulebookR Documentation

Save rulebook

Description

save_rulebook saves a rulebook.

Usage

save_rulebook(
  book = "The Historical Piecepacker",
  gk = game_kit(),
  output = NULL,
  quietly = TRUE,
  size = "letter",
  cmd_options = NULL
)

Arguments

book

Book name. Currently only supports "The Historical Piecepacker".

gk

A game_kit R6 object.

output

Path to the output file. If NULL the function will guess a default.

quietly

Whether to hide document compilation output.

size

Paper size (either "letter", or "A4").

cmd_options

Options passed to pandoc when using non-pdf output formats. If NULL we try to guess a good set of options.


piecepackr/ppgames documentation built on Jan. 17, 2025, 2:24 p.m.