Simple, text based cellular automaton application. Supports randomized begin state and file loading
- Clone repository
- Enter GameOfLife directory
cd GameOfLife
- Create build directory inside:
mkdir build
- Go to build:
cd build
- Create cmake files
cmake ..
- Build
make
- Enjoy!
./Game_of_Life
- Clone repository
- Open
*.sln
file Ctrl+Shift+B
to buildCtrl+F5
to run
After launching you select if you want to create a new board, in which case you enter the board size and the simulation starts. Or you have an option to load a board state.
* represent live Cells, # dead ones.
Board state has to follow the following:
- First two numbers are width and height of a board
- Zeros are dead cells
- Ones are live cells
- Total number of zeros and ones has to match given width*height of the board
- Saving board state
- Move from text based to graphic based