projects
/
crazywa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
df099d8
)
Reduce thinking time in Wa Shogi
author
H.G.Muller
<hgm@hgm-xboard.(none)>
Tue, 7 Feb 2017 19:53:00 +0000 (20:53 +0100)
committer
H.G.Muller
<hgm@hgm-xboard.(none)>
Tue, 7 Feb 2017 20:03:20 +0000 (21:03 +0100)
Due to the high branching factor time was too aggressively used up in
Wa Shogi. The timeusage is now reduced by 33% to avoid time trouble.
dropper.c
patch
|
blob
|
history
diff --git
a/dropper.c
b/dropper.c
index
49379dc
..
f8a0630
100644
(file)
--- a/
dropper.c
+++ b/
dropper.c
@@
-1411,6
+1411,7
@@
TimeIsUp (int mode)
targetTime = 10*timeLeft / 40 + inc;
panicTime = 5*targetTime;
}
+ if(nrFiles > 9) targetTime *= 0.66; // Wa takes longer
switch(mode) {
case 1: return (t > 0.6*targetTime); // for starting new root iteration
case 2: return (t > targetTime); // for searching new move in root