domino: domino pieces

Description Usage Arguments Examples

Description

create Unicode representation of domino pieces and export to HTML.

Usage

1
2
3
4
domino_unicode(first = 0:6, second = 0:6, horizontal = TRUE)

domino_html(first = 0:6, second = 0:6, horizontal = TRUE,
  size = 172)

Arguments

first

the first number to appear in the domino. Valid values: 0, 1, ..., 6

second

the second number to appear in the domino. Valid values: 0, 1, ..., 6

horizontal

whether to use horizontal or vertical alignment

size

the font-size to use

Examples

1
2
domino_html(5, 6)
domino_html(2, 0, horizontal = FALSE)

GregorDeCillia/suitr documentation built on Dec. 26, 2021, 10:57 a.m.