mahjong: mahjong tiles

Description Usage Arguments Examples

Description

create Unicode representations of mahjong tiles and export to HTML

Usage

1
2
3
4
5

Arguments

tile

a mahjong tile. Valid values can be found via mahjong_list()

size

the font-size to use

Examples

1
2
3
4
mahjong_html("autumn")
mahjong_html("bamboo", size = 400)

mahjong_list() %>% lapply(mahjong_html, 100) %>% span() %>% browsable()

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