2 * =====================================================================================
4 * Filename: constants.c
6 * Description: Constant values definition
9 * Created: 24/04/2017 21:06:32
13 * Author: Jerome Benoit (fraggle), jerome.benoit@piment-noir.org
14 * Organization: Piment Noir
16 * =====================================================================================
19 /* exported const definitions */
21 #include "constants.h"
23 //const int board_size = 8;
25 const unsigned int empty
= 0;
26 const unsigned int black
= 1;
27 const unsigned int white
= 2;
29 /* FIXME: reuse the two above variables would be better */
30 const unsigned int player_one
= 1; /* first player is black */
31 const unsigned int player_two
= 2;
33 const unsigned int hint_allowed
= 3;
34 const unsigned int hint_forbidden
= 4;
36 const unsigned int north
= 10;
37 const unsigned int north_east
= 11;
38 const unsigned int east
= 12;
39 const unsigned int south_east
= 13;
40 const unsigned int south
= 14;
41 const unsigned int south_west
= 15;
42 const unsigned int west
= 16;
43 const unsigned int north_west
= 17;