X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=hachu.c;h=176039f10eb1292fdb165bfb1747d89eebfb7728;hb=135d8ffb60839a6863d423a8c383b996ed0c937b;hp=903838dc48e93fee3538b9b799ff3c708fb0f621;hpb=ae1f3859e985a1da3c09cb4613800a2eb0d109d3;p=hachu.git diff --git a/hachu.c b/hachu.c index 903838d..176039f 100644 --- a/hachu.c +++ b/hachu.c @@ -1692,10 +1692,10 @@ SearchBestMove (int stm, int timeLeft, int mps, int timeControl, int inc, int ti { int score, targetTime, movesLeft = 50; if(mps) movesLeft = mps - (moveNr>>1)%mps; - targetTime = timeLeft*10 / (movesLeft + 1) + 1000 * inc; + targetTime = timeLeft*10 / (movesLeft + 2) + 1000 * inc; if(timePerMove > 0) targetTime = timeLeft * 5; startTime = GetTickCount(); - tlim1 = 0.3*targetTime; + tlim1 = 0.2*targetTime; tlim2 = 1.9*targetTime; nodes = 0; MapFromScratch(attacks);