A python implementation of Conway's Game of Life; It is designed with a custom tweakable model format and is primarily for testing out new model concepts.
These instructions will get you a copy of the project running on your local machine for development and testing purposes. See below for the prequisites before starting the installation.
- Python 3.x
- Numpy (pip install numpy)
- Matplotlib (pip install matplotlib)
- Download and unpack the zip file of this repository.
- Edit the file where necessary, such as reducing the epochs for testing purposes
- Open terminal and cd into the folder where you saved it.
- Run gameoflife.py in terminal.
- Type glider into the prompt to load the glider model or create your own using the included instruction and load your model.
- Watch the model run and how the cells evolve over time. Depending on the settings of the model a .gif of the lifecycle may be output.
- Fhoughton - Initial project
See also the list of contributors who participated in this project.
This project has no license and is free to be used and edited by anyone within the terms of the licenses provided with the libraries used.
Inspiration from a similar implementation by ctjacobs - https://github.com/ctjacobs/game-of-life
Banner created in Golly - http://golly.sourceforge.net/