Skip to content

iiSeymour/game-of-life

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game Of Life

A python implementation of Conway's Game of Life using the curses module with a small evolutionary twist.

Game Of Life

Installation

With pip:

$ pip install --user gol

From github:

$ git clone https://github.com/iiSeymour/game-of-life
$ cd game-of-life
$ sudo python setup.py install

Running

$ gol

For terminal screensaver mode.

$ gol -faxl

Options

$ gol --help
usage: gol.py [-h] [-a] [-l] [-f] [-n initial_points] [-r refresh_rate] [-t] [-x] [-v]

optional arguments:
  -h, --help         show this help message and exit
  -a, --autostart    skip the splash screen
  -l, --loop         immediately restart game
  -f, --fullscreen   display fullscreen grid
  -n initial_points  set the number of initial points
  -r refresh_rate    set the refresh rate
  -t, --traditional  traditional mode
  -x, --no-hud       don't display HUD
  -v, --version      show program's version number and exit