Reduce target time, and keep a larger safety margin.
{\r
int score, targetTime, movesLeft = 50;\r
if(mps) movesLeft = mps - (moveNr>>1)%mps;\r
- targetTime = timeLeft*10 / (movesLeft + 1) + 1000 * inc;\r
+ targetTime = timeLeft*10 / (movesLeft + 2) + 1000 * inc;\r
if(timePerMove > 0) targetTime = timeLeft * 5;\r
startTime = GetTickCount();\r
- tlim1 = 0.3*targetTime;\r
+ tlim1 = 0.2*targetTime;\r
tlim2 = 1.9*targetTime;\r
nodes = 0;\r
MapFromScratch(attacks);\r