From ffaca03a425220a0ed043bb48ee2a94b86aab60b Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Mon, 2 Jun 2014 20:04:40 +0200 Subject: [PATCH] Allow larger maximum depth MAXPLY was increased to 60, as in some tsume problems amazing depth can be reached. --- hachu.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hachu.c b/hachu.c index f058616..503d061 100644 --- a/hachu.c +++ b/hachu.c @@ -166,7 +166,7 @@ int retMSP, retFirst, retDep, pvPtr, level, cnt50, mobilityScore; int ll, lr, ul, ur; // corner squares int nodes, startTime, lastRootMove, lastRootIter, tlim1, tlim2, tlim3, repCnt, comp, abortFlag; Move ponderMove; -Move retMove, moveStack[10000], path[100], repStack[300], pv[1000], repeatMove[300], killer[100][2]; +Move retMove, moveStack[20000], path[100], repStack[300], pv[1000], repeatMove[300], killer[100][2]; int maxDepth; // used by search @@ -2239,7 +2239,7 @@ pmoves(int start, int end) // some parameter of your engine #define MAXMOVES 2000 /* maximum game length */ - #define MAXPLY 30 /* maximum search depth */ + #define MAXPLY 60 /* maximum search depth */ #define OFF 0 #define ON 1 -- 1.7.0.4