Finalize the implementation of the playable shots list displaying
[Project_algorithmic_C.git] / lib / constants.h
CommitLineData
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
a80646b7
JB
22#define board_size 8 /* 8 */
23//extern const int board_size; /* 8 */
2e5c1894 24
74e2b93b 25extern const unsigned int empty; /* 0 */
a8b54576
JB
26extern const unsigned int black; /* 1 */
27extern const unsigned int white; /* 2 */
74e2b93b
JB
28
29extern const unsigned int player_one; /* black */
30extern const unsigned int player_two; /* white */
31
74e2b93b
JB
32extern const unsigned int hint_allowed; /* legal place for a pawn */
33extern const unsigned int hint_forbidden; /* illegal place for a pawn */
4ddf6f1a 34
45ce2fe3
JB
35extern const unsigned int north;
36extern const unsigned int north_east;
37extern const unsigned int east;
38extern const unsigned int south_east;
39extern const unsigned int south;
40extern const unsigned int south_west;
41extern const unsigned int west;
42extern const unsigned int north_west;
43
480acfeb 44#endif /* CONSTANTS_H */