Conway's Game of Life, in your terminal, written in C with ncurses.
git clone https://github.com/mcmangini/cgol.git
cd cgol
make
sudo make install
# To uninstall, run
sudo make uninstall
cgol [OPTION]
-h, --help- Display usage message
-p, --pattern <pattern>- Load a predefined grid
-w, --wrap- Wrap the grid at the edges
Patterns are predefined grids represented by .txt files. The first line of the file specifies the dimensions of the grid in the format <rows>x<columns>. The following lines represent the cells of the grid, with a 0 representing a dead cell and a 1 representing a living cell. Refer to the included pattern files for examples of proper formatting.
Pattern files are stored at /usr/local/share/cgol/patterns by default.
Included patterns are:
- beacon
- blinker
- glider
- gosper_glider_gun
- hwss
- lwss
- mwss
- pentadeca
- pulsar
- r-pentomino
- toad
q- Quitp- Pause/Resumer- Restart1- Slow speed2- Medium speed3- Fast speed