23 for (
int i = 0 ; i < size; i++) {
33 int MAX_IT = size, i = 0;
@ GRID
Definition: board.h:17
Board initialise_board(int size)
Definition: cellviz.h:14
CellularAutomaton * get_cell(int x, int y) const
Definition: board.cpp:130
void render()
Definition: board.cpp:140
void add_cell(CellularAutomaton *cell)
Definition: board.cpp:74
Represents a type of cellular automaton called SmithLife.
Definition: cells.h:85
static void compute(Board &board)
Computes the next state of the Board based on SmithLife rules.
Definition: cells.cpp:205