Enable IDS

This commit is contained in:
CalciteM 2019-07-09 01:06:14 +08:00
parent 3a62763653
commit f700aa3d70
2 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
//#define DEBUG
//#define DEAL_WITH_HORIZON_EFFECT
#define DEAL_WITH_HORIZON_EFFECT
//#define RANDOM_BEST_MOVE
@ -32,7 +32,7 @@
#define GAME_MOVING_FIXED_DEPTH 3
#else // DEBUG
#ifdef DEAL_WITH_HORIZON_EFFECT
#define GAME_MOVING_FIXED_DEPTH 10
#define GAME_MOVING_FIXED_DEPTH 9
#else // DEAL_WITH_HORIZON_EFFECT
#define GAME_MOVING_FIXED_DEPTH 10
#endif // DEAL_WITH_HORIZON_EFFECT

View File

@ -508,8 +508,8 @@ int NineChessAi_ab::changeDepth(int originalDepth)
if ((chessTemp.context.stage) & (NineChess::GAME_PLACING)) {
#ifdef GAME_PLACING_DYNAMIC_DEPTH
#ifdef DEAL_WITH_HORIZON_EFFECT
//int depthTable[] = { 2, 11, 11, 11, 11, 10, 9, 8, 8, 8, 7, 7, 1 };
int depthTable[] = { 2, 12, 12, 12, 12, 11, 10, 9, 9, 8, 8, 7, 1 };
int depthTable[] = { 2, 11, 11, 11, 11, 10, 9, 8, 8, 8, 7, 7, 1 };
//int depthTable[] = { 2, 12, 12, 12, 12, 11, 10, 9, 9, 8, 8, 7, 1 };
#else
//int depthTable[] = { 2, 12, 12, 12, 12, 11, 10, 9, 8, 8, 8, 7, 1 };
int depthTable[] = { 2, 13, 13, 13, 12, 11, 10, 9, 9, 8, 8, 7, 1 };