gol_simulate_random: GoL random simulation

Description Usage Arguments Value Examples

View source: R/gol_simulate_random.R

Description

Function that simulates Game of Life with given size and length parameters

Usage

1
gol_simulate_random(side, loops, filename = "")

Arguments

side

size of the side of the square board

loops

amount of iterations of the simulation

filename

output .gif filename, determines whether we want a live plot display or a saved .gif. FALSE by default

Value

.gif file of the simulation or live display of the simulation

Examples

1
2
gol_simulate_random(50, 25,"randomsim.gif")
gol_simulate_random(100, 10)

wejengin2/golr documentation built on Dec. 23, 2021, 5:10 p.m.