misc_games: create six sided dice

Description Usage Arguments Examples

Description

create six sided dice

Usage

1
2
3
dice_unicode(number = 1:6)

dice_html(number = 1:6, size = 172)

Arguments

number

the number that should appear on the die

size

the font-size to use

Examples

1
2
3
4
dice_unicode(6)
dice_html(4)

1:6 %>% lapply(dice_html) %>% span() %>% browsable()

r-webutils/suitr documentation built on Dec. 23, 2021, 12:18 a.m.