Skip to content

Commit d115272

Browse files
committed
README edits
1 parent d7643dd commit d115272

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Diff for: README.md

+16
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
11
Conway-s-Life-in-Python
22
=======================
33

4+
TO RUN:
5+
python3 pylifeGUI.py
6+
7+
48
John Conway's famous cellular automation game "Life"
9+
10+
The rules of Life are very simple.
11+
You start with a rectangular array of cells.
12+
Each cell is either “alive” (black) or “dead” (white). Initially, all cells are dead.
13+
14+
Every cell has eight neighbors. To make a new generation, apply these rules to each cell:
15+
16+
(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).
17+
18+
(b) If the cell is dead and has exactly three living neighbors, the cell revives.
19+
20+

0 commit comments

Comments
 (0)