X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=lib%2Fconstants.h;h=bc15fd15e9de1a3e891d38713f3e124636a34f5c;hb=54f1c58cef6764fdd611eedc267e7491e777c09b;hp=902489d328688007167dbcd0299e519a5d01e98a;hpb=2e5c189444a82df0d9127c94322ec4e3b159dcce;p=Project_algorithmic_C.git diff --git a/lib/constants.h b/lib/constants.h index 902489d..bc15fd1 100644 --- a/lib/constants.h +++ b/lib/constants.h @@ -3,7 +3,7 @@ * * Filename: constants.h * - * Description: Header for constant values + * Description: Header for constant values export * * Version: 1.0 * Created: 24/04/2017 21:06:32 @@ -20,10 +20,17 @@ #define CONSTANTS_H #define board_size 8 +//extern const unsigned int board_size; /* 8 */ -extern const int empty; -extern const int white; -extern const int black; +extern const unsigned int empty; /* 0 */ +extern const unsigned int white; /* 1 */ +extern const unsigned int black; /* 2 */ + +extern const unsigned int player_one; /* black */ +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 */ #endif /* CONSTANTS_H */