Add the basic code to make othello playable without any rule checks
[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
2e5c1894 22#define board_size 8
74e2b93b 23//extern const unsigned int board_size; /* 8 */
2e5c1894 24
74e2b93b
JB
25extern const unsigned int empty; /* 0 */
26extern const unsigned int white; /* 1 */
27extern const unsigned int black; /* 2 */
28
29extern const unsigned int player_one; /* black */
30extern const unsigned int player_two; /* white */
31
32
33extern const unsigned int hint_allowed; /* legal place for a pawn */
34extern const unsigned int hint_forbidden; /* illegal place for a pawn */
4ddf6f1a 35
480acfeb
JB
36#endif /* CONSTANTS_H */
37