pixelpuzzle: Play pixelpuzzle in the R-console

View source: R/pixelpuzzle.R

pixelpuzzleR 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()
}

pixelpuzzle documentation built on Feb. 16, 2023, 8:41 p.m.