aboutsummaryrefslogtreecommitdiffstats
path: root/avr-test2/src/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 /avr-test2/src/gameoflife.h
downloadhic-66dcf910bd4744d8ced56cb9586aa937a1a2d4c5.tar.gz
hic-66dcf910bd4744d8ced56cb9586aa937a1a2d4c5.tar.bz2
hic-66dcf910bd4744d8ced56cb9586aa937a1a2d4c5.zip
first commitHEADmaster
Diffstat (limited to 'avr-test2/src/gameoflife.h')
-rw-r--r--avr-test2/src/gameoflife.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/avr-test2/src/gameoflife.h b/avr-test2/src/gameoflife.h
new file mode 100644
index 0000000..e53b900
--- /dev/null
+++ b/avr-test2/src/gameoflife.h
@@ -0,0 +1,9 @@
+#ifndef GOL_H
+#define GOL_H
+
+void gol_play (int iterations, uint16_t delay);
+unsigned char gol_count_neighbors (int x, int y, int z);
+void gol_nextgen (void);
+int gol_count_changes (void);
+
+#endif