aboutsummaryrefslogtreecommitdiffstats
path: root/cube_pc_test1/gameoflife.h
diff options
context:
space:
mode:
authorvg <vgm+dev@devys.org>2020-07-07 16:24:01 +0200
committervg <vgm+dev@devys.org>2020-07-07 16:24:01 +0200
commit66dcf910bd4744d8ced56cb9586aa937a1a2d4c5 (patch)
treedf4dca1ae4af1e5df0be0d1f4f2cd0d54751f8e8 /cube_pc_test1/gameoflife.h
downloadhic-66dcf910bd4744d8ced56cb9586aa937a1a2d4c5.tar.gz
hic-66dcf910bd4744d8ced56cb9586aa937a1a2d4c5.tar.bz2
hic-66dcf910bd4744d8ced56cb9586aa937a1a2d4c5.zip
first commitHEADmaster
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