Fix to the const definition
[Project_algorithmic_C.git] / lib / constants.h
index 74ea1d8d8a3c9222065453fe6df279e8e9965a22..902489d328688007167dbcd0299e519a5d01e98a 100644 (file)
 #ifndef CONSTANTS_H
 #define CONSTANTS_H
 
-const int empty = 0;
-const int white = 1;
-const int black = 2;
+#define board_size 8
+
+extern const int empty;
+extern const int white;
+extern const int black;
 
 #endif /* CONSTANTS_H */