On the position 4k3/8/8/8/8/8/43/4K3 w - - 0 1 (white king e1, white pawn e2, black king e8), my engine seems don't see the winning sequence :
Code: Select all
1ply 0.00s +1.03 7N 1.e2-e4
2ply 0.00s +1.01 24N 24000ns 1.e2-e4 e8-f7
3ply 0.00s +1.13 95N 95000ns 1.e1-f2 e8-f7 2.f2-f3
4ply 0.00s +1.00 232N 232000ns 1.e1-f2 e8-f7 2f2-f3 f7-f6
5ply 0.00s +1.10646N 323000ns 1.e1-f2 e8-f7 2.f2-f3 f7-f6 3.f3-e4
6ply 0.00s +1.10 1278N 426000ns 1.e1-f2 e8-f7 2.f2-f3 f7-f6 3.f3-e4f6-e6
7ply 0.01s +1.12 3312N 552000ns 1.e1-f2 e8-f7 2.f2-f3 f7-f6 3.f3-e4 f6-e6 4.e2-e3
8ply 0.01s +1.12 6312N 631000ns 1.e1-f2 e8-f7 2.f2-f3 f7-f6 3.f3-e4 f6-e6 4.e2-e3 e6-f6
9ply 0.02s +1.12 11099N 616000ns 1.e1-f2 e8-f7 2.f2-f3 f7-f6 3.f3-e4 f6-e6 4.e2-e3 e6-f6 5.e4-d5
10ply 0.03s +1.12 16243N 624000ns 1.e1-f2 e8-f7 2.f2-f3 f7-f6 3.f3-e4 f6-e6 4.e2-e3 e6-f6 5.e4-d5 f6-f5
11ply 0.07s +1.20 37077N 553000ns 1.e1-f2 e8-f7 2.f2-e3 f7-f6 3.e3-f4 f6-e6
12ply 0.12s +1.18 64956N 564000ns 1.e1-f2 e8-f7 2.f2-e3 f7-f6 3.e3-f4 f6-e6 4.e2-e4 e6-d6 5.f4-g4 d6-c5
13ply 0.17s +1.33 98138N 573000ns 1.e1-f2 e8-f7 2.f2-e3 f7-f6 3.e3-f4 f6-e6 4.e2-e4 e6-d6 5.e4-e5 d6-e6 6.f4-e4 e6-f7
14ply 0.22s +1.35 127232N 573000ns 1.e1-f2 e8-f7 2.f2-e3 f7-f6 3.e3-f4 f6-e6 4.e2-e4 e6-d6 5.e4-e5 d6-e6 6.f4-e4 e6-e7 7.e4-d5 e7-f7
15ply 0.32s +1.35 198061N 620000ns 1.e1-f2 e8-f7 2.f2-e3 f7-f6 3.e3-f4 f6-e6 4.e2-e4 e6-f6 5.e4-e5 f6-e6 6.f4-e4
16ply 0.39s +1.40 245896N 627000ns 1.e1-f2 e8-f7 2.f2-e3 f7-f6 3.e3-d4 f6-e6 4.e2-e4 e6-d6 5.e4-e5 d6-e6 6.d4-e4 e6-e7
17ply 0.47s +1.40 302981N 640000ns 1.e1-f2 e8-f7 2.f2-e3 f7-f6 3.e3-d4 f6-e6 4.e2-e4 e6-d6 5.e4-e5 d6-e6 6.d4-e4 e6-e7
18ply 0.60s +1.63 401873N 665000ns 1.e1-f2 e8-f7 2.f2-e3 f7-f6 3.e3-f4 f6-e6 4.e2-e4 e6-d6 5.f4-f5 d6-e7 6.e4-e5 e7-f7 7.e5-e6 f7-g7 8.f5-g5 g7-h8
19ply 0.70s +1.63 471486N 670000ns 1.e1-f2 e8-f7 2.f2-e3 f7-f6 3.e3-f4 f6-e6 4.e2-e4 e6-d6 5.f4-f5 d6-e7 6.e4-e5 e7-f7 7.e5-e6 f7-g7 8.f5-g5 g7-h8
20ply 0.80s +1.63 543935N 679000ns 1.e1-f2 e8-f7 2.f2-e3 f7-f6 3.e3-f4 f6-e6 4.e2-e4 e6-d6 5.f4-f5 d6-e7 6.e4-e5 e7-f7 7.e5-e6 f7-g8 8.f5-f6 g8-f8 9.f6-e5 f8-e8
21ply 0.95s +1.63 654007N 689000ns 1.e1-f2 e8-f7 2.f2-e3 f7-f6 3.e3-f4 f6-e6 4.e2-e4 e6-d6 5.f4-f5 d6-e7 6.e4-e5 e7-f7 7.e5-e6 f7-g8 8.f5-f6 g8-f8 9.f6-e5 f8-g8
22ply 1.12s +1.63 776594N 695000ns 1.e1-f2 e8-f7 2.f2-e3 f7-f6 3.e3-f4 f6-e6 4.e2-e4 e6-d6 5.f4-f5 d6-e7 6.e4-e5 e7-f7 7.e5-e6 f7-g8 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f5 d6-e7 6.e4-e5 e7-f7 7.e5-e6 f7-g8 8.f5-f6 g8-f8 9.f6-e5 f8-g8
37ply 14.24s +1.63 10386476N 729000ns 1.e1-f2 e8-f7 2.f2-e3 f7-f6 3.e3-f4 f6-e6 4.e2-e4 e6-d6 5.f4-f5 d6-e7 6.e4-e5 e7-f7 7.e5-e6 f7-g8 8.f5-f6 g8-f8 9.f6-e5 f8-g8
38ply 17.14s +1.63 12436407N 725000ns 1.e1-f2 e8-f7 2.f2-e3 f7-f6 3.e3-f4 f6-e6 4.e2-e4 e6-d6 5.f4-f5 d6-e7 6.e4-e5 e7-f7 7.e5-e6 f7-g8 8.f5-f6 g8-f8 9.f6-e5 f8-g8
39ply 20.55s +1.63 14601394N 710000ns 1.e1-f2 e8-f7 2.f2-e3 f7-f6 3.e3-f4 f6-e6 4.e2-e4 e6-d6 5.f4-f5 d6-e7 6.e4-e5 e7-f7 7.e5-e6 f7-g8 8.f5-f6 g8-f8 9.f6-e5 f8-g8
40ply 24.26s +1.63 17277617N 712000ns 1.e1-f2 e8-f7 2.f2-e3 f7-f6 3.e3-f4 f6-e6 4.e2-e4 e6-d6 5.f4-f5 d6-e7 6.e4-e5 e7-f7 7.e5-e6 f7-g8 8.f5-f6 g8-f8 9.f6-e5 f8-g8
41ply 28.19s +1.63 20022154N 710000ns 1.e1-f2 e8-f7 2.f2-e3 f7-f6 3.e3-f4 f6-e6 4.e2-e4 e6-d6 5.f4-f5 d6-e7 6.e4-e5 e7-f7 7.e5-e6 f7-g8 8.f5-f6 g8-f8 9.f6-e5 f8-g8
42ply 35.33s +1.63 23646684N 669000ns 1.e1-f2 e8-f7 2.f2-e3 f7-f6 3.e3-f4 f6-e6 4.e2-e4 e6-d6 5.f4-f5 d6-e7 6.e4-e5 e7-f7 7.e5-e6 f7-g8 8.f5-f6 g8-f8 9.f6-e5 f8-g8
Code: Select all
if (tt.hash == pos->hash && tt.depth >= depth) {
if (tt.type == EXACT_SCORE_TT)
return tt.eval;
if (tt.type == LOW_SCORE_TT && tt.eval > alpha)
alpha = tt.eval;
if (tt.type == HIGH_SCORE_TT && tt.eval < beta)
beta = tt.eval;
if (alpha >= beta)
return tt.eval;
}
or when I store information
Code: Select all
if (depth >= tt.depth) {
if (eval <= alpha)
tt.type = LOW_SCORE_TT;
else
if (eval >= beta)
tt.type = HIGH_SCORE_TT;
else
tt.type = EXACT_SCORE_TT;
tt.eval = eval;
tt.hash = pos->hash;
tt.depth = depth;
tt.best_move = best_move;
}
I think I'm wrong but I don't found where.
Regards (and sorry for my mediocre English),
Samuele Giraudo.