Properly implement the validation of a shot and reverse or flip the
[Project_algorithmic_C.git] / lib / constants.h
index 186e5dba3485420051252baa43116bacb05cae9f..e7f1e5ca2ce2d3a31698ab6a731ebab3f0c2c5ae 100644 (file)
@@ -19,8 +19,8 @@
 #ifndef CONSTANTS_H
 #define CONSTANTS_H
 
-#define board_size 8
-//extern const unsigned int board_size; /* 8 */
+#define board_size 8 /* 8 */
+//extern const int board_size; /* 8 */
 
 extern const unsigned int empty; /* 0 */
 extern const unsigned int black; /* 1 */
@@ -32,5 +32,14 @@ extern const unsigned int player_two; /* white */
 extern const unsigned int hint_allowed; /* legal place for a pawn */
 extern const unsigned int hint_forbidden; /* illegal place for a pawn */
 
+extern const unsigned int north;
+extern const unsigned int north_east;
+extern const unsigned int east;
+extern const unsigned int south_east;
+extern const unsigned int south;
+extern const unsigned int south_west;
+extern const unsigned int west;
+extern const unsigned int north_west;
+
 #endif /* CONSTANTS_H */