Skip to content

mdsturtevant/Conway-s-Life-in-Python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Conway-s-Life-in-Python

TO RUN: python3 pylifeGUI.py

John Conway's famous cellular automation game "Life"

The rules of Life are very simple. You start with a rectangular array of cells. Each cell is either “alive” (black) or “dead” (white). Initially, all cells are dead.

Every cell has eight neighbors. To make a new generation, apply these rules to each cell:

(a) If the cell is alive and has fewer than two or more than three living neighbors, the cell dies (from loneliness or overcrowding, respectively).

(b) If the cell is dead and has exactly three living neighbors, the cell revives.

About

John Conway's famous cellular automation game "Life"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages