p-ranav / cgol

Conway's Game of Life in the Terminal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Conway's Game of Life in the Terminal

License:MIT License


Languages

Language:C++ 97.1%Language:CMake 2.4%Language:Shell 0.4%