Life Game Simulation

life_game(
  save_file = NULL,
  size = 20,
  time = 20,
  fps = 0.75,
  colors = c("black", "green4"),
  ...
)

Arguments

save_file

gif filename

size

size of the world

time

how many times the life game continue.

fps

fps, 0.75

colors

c("green4", "black")

...

add

Value

a gif file

Examples

# \donttest{
if (interactive()) life_game()
# }