GameOfLife is a python3 package that provides two classes
that together implement Conway’s Game of Life.
Install the GameOfLife package using pip:
$ sudo pip3 install GameOfLife
Or clone the git repository:
$ git clone https://github.com/JnyJny/GameOfLife.git
$ cd GameOfLife
$ sudo python3 setup.py install
Also included in the package are:
- CGameOfLife: displays the simulation in a terminal window using curses.
- PGameOfLife: displays the simulation in a PyGame window with pretty pictures.
- NCGameOfLife: simulation based on GameOfLife.NumpyWorld object, displays with curses.
- NPGameOfLIfe: simulation based on GameOfLife.NumpyWorld object, displays with PyGame.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.