Create playing card box jacket for traditional card games
Source:R/traditional_card_games.R
traditional_card_games.Rdpcbj_bridge() creates a playing card box jacket for a Bridge deck.
pcbj_canasta() creates two playing card box jackets for the two decks
used in Canasta.
pcbj_pinochle() creates a playing card box jacket for a Pinochle deck.
pcbj_poker() creates a playing card box jacket for a Poker deck.
Usage
pcbj_bridge(
output = NULL,
...,
paper = getOption("papersize", "letter"),
instructions = FALSE,
double = FALSE
)
pcbj_canasta(
output = NULL,
...,
paper = getOption("papersize", "letter"),
instructions = FALSE
)
pcbj_pinochle(
output = NULL,
...,
paper = getOption("papersize", "letter"),
instructions = FALSE,
double = FALSE
)
pcbj_poker(
output = NULL,
...,
paper = getOption("papersize", "letter"),
instructions = FALSE,
double = FALSE
)Arguments
- output
Output file name. Defaults to
tempfile(fileext = ".pdf").- ...
Should be empty.
- paper
Paper size. Usually either "letter" or "a4" but in certain circumstances can be one of "letter", "a4", "poker", "bridge", "legal", "a5", "a3", "special".
- instructions
If
TRUEthen prepend instructions on how to make the jacket to the beginning of the pdf- double
If
TRUEproduce two jackets instead of one jacket.