cgol
cgol copied to clipboard
Conway's Game of Life in the Terminal
cgol
is a modern C++ implementation of Conway's Game of Life.
- Runs in the terminal - uses the terminal width/height as the grid size
- Parses run-length encoding (
.rle
) pattern files (Seesamples/
) - MIT License
Quick Start
git clone [email protected]:p-ranav/cgol
cd cgol
mkdir build && cd build
cmake .. && make
Usage
./cgol <pattern.rle>
# example: ./cgol ../samples/glider.rle
Samples
Gosper's Glider Gun
Oscillator Synthesis
Spaceships
All known c/3 spaceships up to 50 bits
Stargate
Queen Bee
Fermat Prime Calculator
Contributing
Contributions are welcome, have a look at the CONTRIBUTING.md document for more information.
License
The project is available under the MIT license.