draughts: draughts pieces

Description Usage Arguments Examples

Description

Functions to create Unicode draughts pieces and export them to HTML

Usage

1
2
3
4
5
draughts_unicode(color = c("white", "black"), status = c("man",
  "king"))

draughts_html(color = c("white", "black"), status = c("man", "king"),
  size = 172)

Arguments

color

A color to be used. Black or white

status

A status of the checker. Use man for a single checker and 'king“ for a double checker

size

the font-size to use

Examples

1
2
3
span(draughts_html("white", "man"), draughts_html("white", "king"),
     draughts_html("black", "man"), draughts_html("black", "king")) %>%
  browsable()

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