summaryrefslogtreecommitdiff
path: root/console.h
diff options
context:
space:
mode:
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