Fork me on GitHub

Backgammon

Backgammon is one of the oldest known board games. Like other classic board games like checkers and chess it is also possible to play with a single piecepack. Below is a starting diagram for playing a game of backgammon with a piecepack.

library("grid")
library("piecepackr")
library("ppgames", warn.conflicts=FALSE)
cfg <- pp_cfg(list(suit_text="🌞,🌜,👑,⚜,꩜",
         suit_cex="0.6,0.7,0.75,0.9,0.9",
        suit_fontfamily="Noto Emoji,Noto Sans Symbols2,Noto Emoji,Noto Sans Symbols,Noto Sans Cham",
        suit_color="#D55E00,#000000,#F0E442,#0072B2,#009E73",
        background_color="#000000,#D55E00,#0072B2,#F0E442,white"
))
pmap_piece(df_backgammon(cfg), cfg=cfg, default.units="in")
Starting diagram for a game of backgammon

Starting diagram for a game of backgammon

Comments


There are no comments yet.

Add a Comment

You can use Markdown or restructuredText to format your comment.

links

social