Enum GOL
gridsim
pub enum GOL {}
Conway's Game of Life
impl Rule for GOL
type Cell = bool
The type of cells on the grid
fn rule(cells: [[bool; 3]; 3]) -> bool
This defines a rule for how cells in a 3x3 space transform into a new Cell in the center position of the new board. Read more