X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=lib%2Fconstants.h;h=aa6bc5172a2bd0246591321cd9f1491ce10227ec;hb=74e2b93b658575fa792ada51c3bf1cdc3cfde247;hp=431b7964daf57117513a9e97100123afc663fa6c;hpb=480acfeb0ef3b0c4e9ec23ec145c9860ba64095e;p=Project_algorithmic_C.git diff --git a/lib/constants.h b/lib/constants.h index 431b796..aa6bc51 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,5 +19,19 @@ #ifndef CONSTANTS_H #define CONSTANTS_H +#define board_size 8 +//extern const unsigned int board_size; /* 8 */ + +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 */