Skip to content

nobel-sh/GameOfLife

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Conway's Game Of Life

Program to simulate Conway's Game Of Life written using Python3

️Installation

You need the pygame module for this program to work.

  pip3 install pygame

then, just clone the repo and run the main.py file with python

  git clone https://github.com/Nobel49/GameOfLife.git
  cd GameOfLife
  python3 main.py -h

Usage:

python3 main.py [Flags] [OPTIONS]

Flags:

-h : Prints the help option
-r : Uses the given size to generates a random state and run the program
-t : Provide a initial state through a text file    

Examples:

python3 main.py -r 40
python3 main.py -t ggg.txt

️Demo

Below is an example showing Gosper Glider Gun ggg

About Game of life

About

Program that simulates Conways's Game of life

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages