IN101 project on Conway's Game of Life
|
The naive implementation of Conway's game of life uses a string to store the state of the universe's state, using the following convention:
.
represents a dead cello
represents a live cellThe information about the universe (width, height, number of simulation steps and cells' state) is stored in a universe structure.
make naive
make naive-compile-all
app-naive-loader
to load a universe from a source textfile and print it as is to the console.app-naive-conway
to load a universe from a source textfile and execute the given amount of simulation steps.