1/* ****************************************************************************
2 Copyright 2012 Ian Wadham <iandw.au@gmail.com>
3
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU General Public License as published by
6 the Free Software Foundation; either version 2 of the License, or
7 (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software Foundation, Inc.,
16 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17**************************************************************************** */
18#ifndef AI_GLOBALS_H
19#define AI_GLOBALS_H
20
21#define AILog 0
22
23/* VALUES of AILog
24 * ---------------
25 * 0 0 No logging of game, moves or AI. No logging code compiled.
26 * >0 1 Log the game (i.e. a summary of moves at the end of the game).
27 * >1 2 Add logging of moves as they happen.
28 * >2 3 Add logging of likely moves and MiniMax recursions.
29 * >3 4 Add logging of intermediate and ending positions of recursions.
30 * >4 5 Add logging of processes inside AI_Box and its stack.
31 */
32
33enum Player {Nobody, One, Two};
34
35// Used in AI_Main and the inheritors of AI_Base (e.g. AI_Kepler, AI_Newton).
36const int HighValue = 999;
37const int VeryHighValue = 9999;
38const int WinnerPlus1 = 0x3fffffff;
39
40#endif // AI_GLOBALS_H
41