summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRaúl Benencia <rul@kalgan.cc>2015-03-31 15:45:21 -0300
committerRaúl Benencia <rul@kalgan.cc>2015-03-31 15:45:21 -0300
commit9e791e4e927b837c8647765ada6f25be1ac086cc (patch)
tree8a82113a036705ccfc59023ff2e0134e275394dd /include
parent9ad93043d107926b48196b9c9ba9588ded5f4b64 (diff)
introduce game loop function
Diffstat (limited to 'include')
-rw-r--r--include/game.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/game.h b/include/game.h
new file mode 100644
index 0000000..61239e7
--- /dev/null
+++ b/include/game.h
@@ -0,0 +1,11 @@
+#ifndef _GAME
+#define _GAME
+
+#include "types.h"
+
+/*
+ * Implements the main game loop. Returns the final state of the board.
+ */
+Board game_loop(Board);
+
+#endif
nihil fit ex nihilo