pixelpuzzle {pixelpuzzle}R Documentation

Play pixelpuzzle in the R-console

Description

Play pixelpuzzle in the R-console

Usage

pixelpuzzle(img = NA, bg = ".")

Arguments

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 (".")

Value

Nothing

Examples

## Start game (in interactive R sessions)
if (interactive())  {
   pixelpuzzle()
}

[Package pixelpuzzle version 1.0.1 Index]