New issue 42 by jonne.zutt: Re8 was played, but what happened afterwards?
http://code.google.com/p/gray-matter/issues/detail?id=42
Something goes wrong here, I worked on it tonight, but could not yet fix it.
setboard 3R4/8/8/8/8/8/4p1K1/4k3 w - - 0 1
go
gm plays d8e8 (Re8), which is good
usermove e1d1 (Kd1).
gm plays g2f2 (Kf2), which is good
here i switch sides by entering go
gm played d1d2 (Kd2), which is good, promoted piece would be captured
anyways.
I move my white's rook to b8 because I want gm to promote, so:
usermove e8b8 (Rb8)
Now gm played e2e3 (Kd3), which is very bad...
e1=Q+ should've been played instead.
*** the debug output for this last bad Kd3 move is:
usermove e8b8
Kd3 (Kf3): max of 18 children: 512.
(Kd3): max of 8 children: -512.
search_base::change changes state from PONDERING to THINKING.
search_base::start doing requested work (hash = 2d422809161b5a4c, status =
THINKING).
: Setting alarm to 788 csecs from now.
: Iterative deepening maxdepth set to 1.
: Iterative deepening maxdepth set to 2.
: Iterative deepening maxdepth set to 3.
: Iterative deepening maxdepth set to 4.
: Iterative deepening maxdepth set to 5.
: Iterative deepening maxdepth set to 6.
: Iterative deepening maxdepth set to 7.
Kd3 (Rb4): max of 22 children: 507.
Kc3 (Kg2): max of 22 children: 507.
Ke3+: terminal state 6.
Kd1 (Kg2): max of 22 children: 507.
Ke1+: terminal state 6.
Kc2 (Kxe2): max of 22 children: 507.
e1=N (Rd8+): max of 22 children: 218.
e1=B+ (Kf3): max of 22 children: 199.
e1=R (Rd8+): max of 22 children: 497.
e1=Q+ (Kf3): max of 22 children: -870.
(e1=Q+): max of 11 children: 870.
move d2d3
search_base::change changes state from THINKING to PONDERING.
search_base::start doing requested work (hash = 2d422809161b5a4c, status =
PONDERING).
*** end of debug output
I'm a bit lost here:
+ it says max of 11 children while i see only 10, ok, Kc1 is missing
somehow, it might be possible
i forget to print the first or last move in debugging code.
+ why does it play Kd3 if it says e1=Q+ is the max?
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
Comment #1 on issue 42 by jonne.zutt: Re8 was played, but what happened
afterwards?
http://code.google.com/p/gray-matter/issues/detail?id=42
Cannot reproduce anymore.