universe naive_step(universe u, bool consider_torus)
Get a naive universe's next iteration. Decrements the universe's step_nb parameter by one...
Definition: naive_conway.c:40
Header file for a naive implementation of Conway's game of life ppm image printer.
Header file for a naive implementation of Conway's game of life universe structure.
universe naive_simulation(universe u, bool print_to_console, bool generate_images, bool consider_torus)
Get the final state of a universe, according to its step_nb parameter.
Definition: naive_conway.c:77
int naive_count_neighbors(universe u, int row, int column, bool consider_torus)
Count alive neighbors of a cell in a given universe.
Definition: naive_conway.c:10
Structure representing a universe: width, height, number of simulation steps and current cells state...
Definition: list_universe.h:18