Learn R Programming

creepyalien (version 1.0.0)

run: Play creepyalien in the R-console

Description

Play creepyalien in the R-console

Usage

run(animate = TRUE, sound = TRUE)

Value

Nothing

Arguments

animate

Animated CLI graphics? (TRUE|FALSE)

sound

Play sound? (TRUE|FALSE)

Examples

Run this code
## Start game (in interactive R sessions)
if (interactive())  {
   run()
}

Run the code above in your browser using DataLab