Skip to content

UnlikelyBuddy1/Game-of-Life

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Game-of-Life

It's a simple simulation of Conway's Game of Life

image

Getting started

Prerequisites

There are two ways of running this application, either using an simple EXE for Windows that has to be launched within its folder (because they contain all the python modules, application data etc...) and that requires no installer. Or by running the source code of the application with Python and all the modules. In which case you'll need :

pip install numpy
  • Matplotlib module version 3.2.2 (upper versions don't work if you want the EXE), to do annimated 3D plotting
pip install matplotlib==3.2.2

Installation

Like i said there no installer, just a folder wich contains all the necessary files. If you want the Windows EXE version than :

  • download the Github repository as a ZIP
  • UnZIP it and open it
  • UnZIP the "Game of life executable"
  • Open the folder "Game of life executable" and find the executable named "Game of life.exe"

If you want to run the source code than :

  • download the Github repository as a ZIP
  • UnZIP it and open it
  • find the file "Game of Life.py"
  • Run it with your editor (Python's IDLE, Vscode, etc...)

How to use

  • Size to chose the lengh of a 2 by 1 matrix
  • Pause, if you want to pause
  • Reload if you want to generate a random matrix
  • Ones % is the % of "live" vs "dead" cells in the random generated matrix

About

Simple simulation of Conway's Game of Life

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages