pixelpuzzle | R Documentation |
Play pixelpuzzle in the R-console
pixelpuzzle(img = NA, bg = ".")
img |
Image of Sprite (vector of strings). If no sprite is provided, the player can choose one of the predefined pixel arts. |
bg |
Background color, default is transparent (".") |
Nothing
## Start game (in interactive R sessions) if (interactive()) { pixelpuzzle() }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.