Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 514 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 514 Bytes

GameOfLife

This is a package for simulating the cellular automaton Conway's Game of Life in Julia.

Installation

using Pkg
Pkg.add("https://github.com/VasanthManiVasi/Conways-Game-of-Life")
Pkg.test("GameOfLife")

Example

using GameOfLife

# Using the default world state
simulate(max_days = 100, speed = 80)

# Using a pre-defined world state
A = rand(0:1, 100, 100)
simulate(max_days = 150, speed = 80, initial_state = A)