Skip to content

chris-phd/game-of-life

Repository files navigation

Conway's Game Of Life

The Game of Life is cellular automaton created by John Conway. The rules of this zero player game can be found on wikipedia.

Controls

./game_of_life -l load_file_path -s save_file_path -c [terminal, light, grayscale]

  Move      = arrows keys or wasd
  Zoom      = scroll wheel
  Edit mode = e or space
  Edit cell = left mouse when in edit mode
  Speed up  = shift + w or shift + up arrow
  Slow down = shift + s or shift + down arrow

Build Instructions

Currently only Ubuntu 20.04 is supported.

git clone https://github.com/C-J-Cooper/athena-engine.git
cd game-of-life
mkdir build && cd build
cmake ..
make

Examples

To load the examples. From the build directory:

./game_of_life -l ../resources/examples/glider_train.txt

Glider Train

Time Bomb

Gosper GLider Gun

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages