Properly implement the validation of a shot and reverse or flip the
[Project_algorithmic_C.git] / lib / constants.c
index 289bf044d315109ecaedd536e444c2b3651d61a0..1006d0b283c5e10ed63fdeaa36f01611bfed38f6 100644 (file)
@@ -20,7 +20,7 @@
 
 #include "constants.h"
 
-//const unsigned int board_size = 8;
+//const int board_size = 8;
 
 const unsigned int empty = 0;
 const unsigned int black = 1;
@@ -30,5 +30,14 @@ const unsigned int white = 2;
 const unsigned int player_one = 1; /* first player is black */
 const unsigned int player_two = 2;
 
-const unsigned int hint_allowed = 3;
+const unsigned int hint_allowed =   3;
 const unsigned int hint_forbidden = 4;
+
+const unsigned int north =      10;
+const unsigned int north_east = 11;
+const unsigned int east =       12;
+const unsigned int south_east = 13;
+const unsigned int south =      14;
+const unsigned int south_west = 15;
+const unsigned int west =       16;
+const unsigned int north_west = 17;