Code: Select all
// Resign adjudication
if (m_resignMoveCount > 0)
{
int& count = m_resignScoreCount[side];
if (eval.score() <= m_resignScore)
count++;
else
count = 0;
if (count >= m_resignMoveCount)
m_result = Chess::Result(Chess::Result::Adjudication,
side.opposite());
}
I guess it considers both sides here, because of the side variable?
This would mean, if I set the resignscorecount as 3 there should be 6 consecutive plies with eval below/equal the set resignscore?
Or does it only consider each side independent, without considering 'agreement' between both opponents?
E.g. White is below the resignscore 3 moves in a row and Black was still above in the 3 consecutive plies, would it still be adjudicated or not?
I am asking because I found games which were adjusted too late or too early, at least in the way I thought it should work.
Even if my assumption about consecutive plies is wrong there is at least
a problem e.g. below:
(setting was 6moves/800 - 2 versions of Gaviota as xboard)
Ok here the problem obviously is NO score for certain 'easy' or single reply moves.
Should this be fixed in the chess program or should the UI assume noscore = resignscore?
Code: Select all
50. Re8 {+12.02/11 0.20s} Qd1+ {-8.25/12 0.17s}
51. Kh2 {+8.26/13 0.20s} Qh5+ {-8.52/12 0.17s} 52. Kg1 {+8.26/14 0.25s}
Qd1+ {-8.52/13 0.17s} 53. Kh2 {+8.26/16 0.62s} Qh5+ {-8.58/14 0.17s}
54. Kg3 {+8.62/13 0.17s} Qg6+ {-8.83/14 0.44s} 55. Qxg6+ {+8.74/13 0.17s} Kxg6
56. Rg8 {+16.80/12 0.18s} Kh5 {-17.44/13 0.24s} 57. Kh3 {+18.26/14 0.17s}
Kg6 {-18.60/14 0.17s} 58. Rxg7+ {+18.66/13 0.17s} Kxg7 {-20.15/15 0.26s}
59. a5 {+19.09/15 0.41s} Kf7 {-20.54/15 0.31s} 60. b4 {+20.63/15 0.15s}
Ke7 {-25.17/15 0.15s} 61. a6 {+24.69/14 0.17s}
Kd6 {-25.09/14 0.25s, White wins by adjudication} 1-0
84. Ke5 {+9.28/12 0.14s} Kh7 {-12.25/11 0.17s} 85. f5 {+12.83/12 0.13s}
Kh6 {-12.83/12 0.15s} 86. f6 {+12.21/11 0.15s} gxf6+ {-327.45/12 0.14s}
87. Kxf6 {+327.46/13 0.19s} h4 88. Rb8 {+327.48/2 0.004s} Kh5 {-327.49/2 0.005s}
89. Kf5 {+327.50/2 0.004s} Kh6 {-327.51/2 0.005s} 90. Rh8+ {+327.52/2 0.004s}
Kg7 91. Rxh4 {+327.54/2 0.005s} Kf7 {-327.55/2 0.006s}
92. Re4 {+327.56/2 0.004s} Kg7 {-327.57/2 0.005s} 93. Re7+ {+327.58/2 0.004s}
Kf8 {-327.59/2 0.005s} 94. Kf6 {+327.60/2 0.004s} Kg8 95. Re5 {+327.62/2 0.003s}
Kf8 {-327.63/2 0.005s} 96. Kg6 {+327.64/2 0.003s} Kg8
97. Re8# {+327.66/2 0.003s, White mates} 1-0
Shouldn't it be reset for both sides?
Code: Select all
Kc7 {-7.19/11 0.23s} 30. a5 {+7.94/11 0.37s} Nxa5 {-8.80/12 1.2s}
31. Rxa5 {+7.89/11 0.28s} e5 {-8.78/9 0.26s} 32. Qc4 {+10.44/7 0.27s}
Rac8 {-10.39/8 0.20s} 33. Rb5 {+16.98/10 0.58s} Qc6 {-15.33/9 0.19s}
34. Bd5 {+17.36/9 0.28s} Qb6 {-17.46/9 0.38s} 35. Bxb7 {+18.35/10 0.26s}
Be7 {-18.46/10 0.21s, White wins by adjudication} 1-0