Skip to content

sohyongsheng/gol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Conway's Game of Life

This program runs Conway's Game of Life (GOL) in terminal, with a curses-like UI. If you don't know what GOL is, check out these links.

Screencasts

Spider:

Spider screencast

Lobster:

Lobster screencast

Prerequisites

  • Python 3.6.9 or higher.
  • No need to install any extra Python packages, this runs on Python's standard library.

Play

You can begin by running something like this.

python3 play.py -w -p seeds/spaceships/spider.txt

This means begin playing by running the seed text file seeds/spaceships/spider.txt, on a board with wrap-around.

Press Ctrl+C to exit the program.

For all options, see help message.

python3 play.py -h

Tests

To run tests, first install required packages.

pip3 install -r requirements.txt

Then run this.

pytest tests

RIP

John Conway died of complications from COVID-19 on 11 April 2020, at age 82. This project is made in remembrance of him.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages