summaryrefslogtreecommitdiffstats
path: root/input.h
diff options
context:
space:
mode:
Diffstat (limited to 'input.h')
-rw-r--r--input.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/input.h b/input.h
new file mode 100644
index 0000000..d5f026f
--- /dev/null
+++ b/input.h
@@ -0,0 +1,18 @@
+#ifndef INPUT_H_ /* Include guard */
+#define INPUT_H_
+
+/* declare cursor position */
+extern int cursorPosX;
+extern int cursorPosY;
+
+/* Error stuff */
+
+extern int turns;
+
+/* The piece to be moved goes here */
+extern char hand;
+
+int InputBoard(char board[8][8], int keypress); /* declare the function */
+
+#endif // INPUT_H_
+