about summary refs log tree commit diff stats
path: root/life.txt
diff options
context:
space:
mode:
Diffstat (limited to 'life.txt')
-rw-r--r--life.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/life.txt b/life.txt
index 0428310..f0791e4 100644
--- a/life.txt
+++ b/life.txt
@@ -14,4 +14,12 @@ I like to implement Conway's Game of Life. Here are some notes on my general app
 - Any cell with more than 3 live neighbor dies
 - Any dead cell with 3 neighbors becomes a living cell
 
+## Implementation
+
+- Define the world as a 2d grid, typically an array
+- Function to dislay the grid
+- Function to count living neighbors
+- Function to apply the rules of life to each cell
+- Function to bundle everything together, this takes in the initial state as well as the number of generations to run
+