Add the basic code to make othello playable without any rule checks
[Project_algorithmic_C.git] / lib / constants.c
CommitLineData
2e5c1894
JB
1/*
2 * =====================================================================================
3 *
74e2b93b 4 * Filename: constants.c
2e5c1894 5 *
74e2b93b 6 * Description: Constant values definition
2e5c1894
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/* exported const definitions */
74e2b93b
JB
20
21#include "constants.h"
22
23//const unsigned int board_size = 8;
24
25const unsigned int empty = 0;
26const unsigned int white = 1;
27const unsigned int black = 2;
28
29/* FIXME: reuse the two above variables would be better */
30const unsigned int player_one = 2; /* first player is black */
31const unsigned int player_two = 1;
32
33const unsigned int hint_allowed = 3;
34const unsigned int hint_forbidden = 4;