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.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/life.txt b/life.txt
new file mode 100644
index 0000000..0428310
--- /dev/null
+++ b/life.txt
@@ -0,0 +1,17 @@
+# Conway's Game of Life
+
+I like to implement Conway's Game of Life. Here are some notes on my general approach to doing that. 
+
+## Rules
+
+- The universe is an infinate 2d plain of equally sized cells
+- The univsrse's state exists as discrete snap-shots of time, 1 snap-shot is a generation
+- Every cell has exactly 2 states, live and dead
+- A cell must be in exactly 1 state at a time, either living or dead
+- A cell's neighbors are considered to be all adjacent cells
+- Any cell with less than 2 live neighbors dies
+- Any cell with 2 or 3 live neighbors continues to the next generation
+- Any cell with more than 3 live neighbor dies
+- Any dead cell with 3 neighbors becomes a living cell
+
+