summaryrefslogtreecommitdiff
path: root/console.h
diff options
context:
space:
mode:
authorKaiStevenson <kai@kaistevenson.com>2022-12-06 22:16:12 -0800
committerKaiStevenson <kai@kaistevenson.com>2022-12-06 22:16:12 -0800
commit7ef39a806620b05555125f4fdb99889442a4d6e3 (patch)
tree9a0da2f851f9d70536635a4ec1599d301750665a /console.h
parente8e00b9eb6e3979dd1066fc3a73f39565e8ec9cf (diff)
separated code into multiple files
Diffstat (limited to 'console.h')
-rw-r--r--console.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/console.h b/console.h
new file mode 100644
index 0000000..3437f82
--- /dev/null
+++ b/console.h
@@ -0,0 +1,15 @@
+#ifndef CONSOLE
+#define CONSOLE
+#define ANSI_COLOR_RED "\x1b[31m"
+#define ANSI_COLOR_GREEN "\x1b[32m"
+#define ANSI_COLOR_YELLOW "\x1b[33m"
+#define ANSI_COLOR_BLUE "\x1b[34m"
+#define ANSI_COLOR_MAGENTA "\x1b[35m"
+#define ANSI_COLOR_CYAN "\x1b[36m"
+#define ANSI_COLOR_RESET "\x1b[0m"
+
+void draw_board(int board[8][8]);
+vector_t user_input_pos();
+void clear_screen();
+void warn_user(char* message);
+#endif