X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=lib%2Fconstants.h;h=e7f1e5ca2ce2d3a31698ab6a731ebab3f0c2c5ae;hb=a80646b74eca11c71696dedeb674870437c5bb6f;hp=902489d328688007167dbcd0299e519a5d01e98a;hpb=2e5c189444a82df0d9127c94322ec4e3b159dcce;p=Project_algorithmic_C.git diff --git a/lib/constants.h b/lib/constants.h index 902489d..e7f1e5c 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 @@ -19,11 +19,27 @@ #ifndef CONSTANTS_H #define CONSTANTS_H -#define board_size 8 +#define board_size 8 /* 8 */ +//extern const 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 black; /* 1 */ +extern const unsigned int white; /* 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 */ + +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 */