/cgol

Conway's Game of Life in the Terminal

Primary LanguageC++MIT LicenseMIT

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 (See samples/)
  • MIT License

Quick Start

git clone git@github.com: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.