Commit | Line | Data |
---|---|---|
480acfeb JB |
1 | /* |
2 | * ===================================================================================== | |
3 | * | |
4 | * Filename: constants.h | |
5 | * | |
74e2b93b | 6 | * Description: Header for constant values export |
480acfeb JB |
7 | * |
8 | * Version: 1.0 | |
9 | * Created: 24/04/2017 21:06:32 | |
10 | * Revision: none | |
11 | * Compiler: gcc | |
12 | * | |
13 | * Author: Jerome Benoit (fraggle), jerome.benoit@piment-noir.org | |
14 | * Organization: Piment Noir | |
15 | * | |
16 | * ===================================================================================== | |
17 | */ | |
18 | ||
19 | #ifndef CONSTANTS_H | |
20 | #define CONSTANTS_H | |
21 | ||
2e5c1894 | 22 | #define board_size 8 |
74e2b93b | 23 | //extern const unsigned int board_size; /* 8 */ |
2e5c1894 | 24 | |
74e2b93b JB |
25 | extern const unsigned int empty; /* 0 */ |
26 | extern const unsigned int white; /* 1 */ | |
27 | extern const unsigned int black; /* 2 */ | |
28 | ||
29 | extern const unsigned int player_one; /* black */ | |
30 | extern const unsigned int player_two; /* white */ | |
31 | ||
32 | ||
33 | extern const unsigned int hint_allowed; /* legal place for a pawn */ | |
34 | extern const unsigned int hint_forbidden; /* illegal place for a pawn */ | |
4ddf6f1a | 35 | |
480acfeb JB |
36 | #endif /* CONSTANTS_H */ |
37 |