summaryrefslogtreecommitdiffstats
path: root/main.h
diff options
context:
space:
mode:
Diffstat (limited to 'main.h')
-rw-r--r--main.h21
1 files changed, 1 insertions, 20 deletions
diff --git a/main.h b/main.h
index eb53e21..e5130d3 100644
--- a/main.h
+++ b/main.h
@@ -1,14 +1,7 @@
#ifndef _MAIN_H_
#define _MAIN_H_
-#include <queue>
-#include <cstdio>
-#include <cstdlib>
-#include <cstring>
-#include <ctime>
-
-#include "piece.h"
-#include "grid.h"
+#include "klotski.h"
#define ANSI_COLOR_RED "\x1b[31m"
#define ANSI_COLOR_GREEN "\x1b[32m"
@@ -19,17 +12,5 @@
#define ANSI_COLOR_RESET "\x1b[0m"
#define PRINT_COLOR(C, S) printf("%s%s%s", C, S, ANSI_COLOR_RESET)
-using std::vector;
-using std::queue;
-
-string piece_tag[] = {"1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c",
- "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o",
- "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "A",
- "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M",
- "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y",
- "Z"};
-
-string err_msg[4] = {"piece is correct", "piece has wrong dimensions", "piece has wrong direction", "piece is out of bounds"};
-
#endif