From: H.G.Muller Date: Mon, 2 Jun 2014 18:04:40 +0000 (+0200) Subject: Allow larger maximum depth X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=ffaca03a425220a0ed043bb48ee2a94b86aab60b;p=hachu.git Allow larger maximum depth MAXPLY was increased to 60, as in some tsume problems amazing depth can be reached. --- 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