Skip to content

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.

Notifications You must be signed in to change notification settings

game-of-life-in-X/GameOfLifeInPython

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Game of Life in Python

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.

Example gameplay of the game of life

Getting Started

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.

Prerequisites

  • Python 3.x
  • Numpy (pip install numpy)
  • Matplotlib (pip install matplotlib)

Installing

  1. Download and unpack the zip file of this repository.
  2. Edit the file where necessary, such as reducing the epochs for testing purposes
  3. Open terminal and cd into the folder where you saved it.
  4. Run gameoflife.py in terminal.
  5. Type glider into the prompt to load the glider model or create your own using the included instruction and load your model.
  6. 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.

Authors

See also the list of contributors who participated in this project.

License

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.

Aknowledgements

Inspiration from a similar implementation by ctjacobs - https://github.com/ctjacobs/game-of-life

Banner created in Golly - http://golly.sourceforge.net/

About

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.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages