aboutsummaryrefslogtreecommitdiffstats
path: root/cube_pc_test1/gameoflife.h
diff options
context:
space:
mode:
Diffstat (limited to 'cube_pc_test1/gameoflife.h')
-rw-r--r--cube_pc_test1/gameoflife.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/cube_pc_test1/gameoflife.h b/cube_pc_test1/gameoflife.h
new file mode 100644
index 0000000..8e88be6
--- /dev/null
+++ b/cube_pc_test1/gameoflife.h
@@ -0,0 +1,9 @@
+#ifndef GOL_H
+#define GOL_H
+
+void gol_play (int iterations, int delay);
+unsigned char gol_count_neighbors (int x, int y, int z);
+void gol_nextgen (void);
+int gol_count_changes (void);
+
+#endif