1 /* 2 SPDX-FileCopyrightText: 2012 Ian Wadham <iandw.au@gmail.com> 3 4 SPDX-License-Identifier: GPL-2.0-or-later 5 */ 6 7 #ifndef AI_GLOBALS_H 8 #define AI_GLOBALS_H 9 10 #define AILog 0 11 12 /* VALUES of AILog 13 * --------------- 14 * 0 0 No logging of game, moves or AI. No logging code compiled. 15 * >0 1 Log the game (i.e. a summary of moves at the end of the game). 16 * >1 2 Add logging of moves as they happen. 17 * >2 3 Add logging of likely moves and MiniMax recursions. 18 * >3 4 Add logging of intermediate and ending positions of recursions. 19 * >4 5 Add logging of processes inside AI_Box and its stack. 20 */ 21 22 enum Player {Nobody, One, Two}; 23 24 // Used in AI_Main and the inheritors of AI_Base (e.g. AI_Kepler, AI_Newton). 25 const int HighValue = 999; 26 const int VeryHighValue = 9999; 27 const int WinnerPlus1 = 0x3fffffff; 28 29 #endif // AI_GLOBALS_H 30