Fork me on GitHub

Other articles


  1. Hexpack

    The Hexpack is a piecepack expansion that essentially introduces hexagonal tiles and triagonal coins. The suggested size of the hexagonal tiles is one that allows the hexagons to circumscribe a 2" circumference circle (this implies that it in turn is circumscribed by a 4 / sqrt(3) circumference circle). When making …

    read more
  2. 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 …
    read more
  3. Tablut

    Tablut is a historical (hnefa)tafl game played by the Sámi people until at least the 1700s whose rules were written down by the Swedish naturalist Linnaeus in 1732. Below is a starting diagram for playing a game of Tablut with a piecepack.

    library("grid")
    library("piecepackr")
    library("ppgames", warn …
    read more
  4. Cribbage

    Cribbage is a popular two-person card game that usually requires a special cribbage board to keep score. Below is a diagram of using a piecepack to make an effective cribbage board.

    library("grid")
    library("piecepackr")
    library("ppgames", warn.conflicts=FALSE)
    cfg <- pp_cfg(list(suit_color="darkred,black,darkgreen,darkblue,black",
                       border_color …
    read more
  5. Configuration lists

    Intro

    piecepackr allows one to alter the appearance of one's piecepack graphics through the use of configuration lists. Here is an example:

    library("grid")
    library("piecepackr")
    dark_colorscheme <- list(suit_color="darkred,black,darkgreen,darkblue …
    read more
  6. Animations

    Note

    Besides the animation package there are also several other R packages that can be used to help make an animation like the gifski and tweenr packages.

    Here we'll give a simple example using the animation package and piecepackr's API to build an animation showing a preview of each …

    read more
  7. Dual piecepacks PnP

    This is the demo of the six piecepacks that were included in the "dual piecepacks" proof-of-concept: one piecepack-suited piecepack, one latin-suited piecepack (inverted color scheme), two french-suited piecepacks (one 'black' suits, one 'white' suits), and two swiss-suited piecepacks (one dark grayscale color scheme, one light grayscale color scheme). One could …

    read more
  8. Default PnP

    The default type of piecepack built by this software if the user does no configuration. The default piecepack has the following properties.

    1. Uses symbols only found in R's default sans font so that it works on multiple OS platforms out of the box without the user needing to mess with …
    read more

links

social