IN101 project on Conway's Game of Life
|
Header file for the naive implementation of Conway's game of life loader. More...
Go to the source code of this file.
Functions | |
universe | naive_conway_load (char *data_filename) |
Parse a text file into a universe structure. More... | |
Header file for the naive implementation of Conway's game of life loader.
Naive implementation of the Conway's game of life:
The universe's size if given and constant.
The universe state is recorded using a character list (string) following the convention .
for dead and o
for alive.
The loader takes a text file following the format:
API
naive_conway_load
to build a universe
structure from a text file universe naive_conway_load | ( | char * | data_filename | ) |
Parse a text file into a universe structure.
data_filename | source text file filename |