Skip to content
/ cgol Public

Conway's Game of Life in the Terminal

License

MIT, Unknown licenses found

Licenses found

MIT
LICENSE
Unknown
LICENSE.termcolor
Notifications You must be signed in to change notification settings

p-ranav/cgol

Repository files navigation

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 [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.