Home * Board Representation * Move Generation * Perft * Results

This page contains detailed perft results for several positions that are useful for debugging, beginning with the start position. Captures, checkmates, and other information have been included along with the node counts (leaf nodes, excluding internal or interior nodes) or movepath enumerations. The move counters consider moves to the leaf positions only.

Initial Position

Obviously, Perft(1) of the initial position is 20, Perft(2) 400. Data of Perft(10) up to Perft(13) was provided by Steven Edwards, generated by Symbolic [1] .
external image RNBQKBNR%20w%20-%20-&size=large&coord=yes&cap=no&stm=yes&fb=no&theme=classic&color1=E3CEAA&color2=635147&color3=000000
rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1

Depth
Nodes
Captures
E.p.
Castles
Promotions
Checks
Checkmates
0
1
0
0
0
0
0
0
1
20
0
0
0
0
0
0
2
400
0
0
0
0
0
0
3
8,902
34
0
0
0
12
0
4
197,281
1576
0
0
0
469
8
5
4,865,609
82719
258
0
0
27351
347
6
119,060,324
2812008
5248
0
0
809099
10828
7
3,195,901,860

8
84,998,978,956

9
2,439,530,234,167

10
69,352,859,712,417

11
2,097,651,003,696,806

12
62,854,969,236,701,747
[2]
13
1,981,066,775,000,396,239


Perft 10


Perft 11


Perft 12


Perft 13


Summary


Position 2

also know as "kiwipete" by Peter McKenzie [3]
external image R3K2R%20w%20-%20-&size=large&coord=yes&cap=no&stm=yes&fb=no&theme=classic&color1=E3CEAA&color2=635147&color3=000000
r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq -

Depth
Nodes
Captures
E.p.
Castles
Promotions
Checks
Checkmates
1
48
8
0
2
0
0
0
2
2039
351
1
91
0
3
0
3
97862
17102
45
3162
0
993
1
4
4085603
757163
1929
128013
15172
25523
43
5
193690690
35043416
73365
4993637
8392
3309887
30171

Position 3

external image 8%20w%20-%20-&size=large&coord=yes&cap=no&stm=yes&fb=no&theme=classic&color1=E3CEAA&color2=635147&color3=000000
8/2p5/3p4/KP5r/1R3p1k/8/4P1P1/8 w - -

Depth
Nodes
Captures
E.p.
Castles
Promotions
Checks
Checkmates
1
14
1
0
0
0
2
0
2
191
14
0
0
0
10
0
3
2812
209
2
0
0
267
0
4
43238
3348
123
0
0
1680
17
5
[4] 674624
52051
1165
0
0
52950
0
6
11030083
940350
33325
0
7552
452473
2733
7
178633661
14519036
294874
0
140024
12797406
87

Position 4

external image R2Q1RK1%20w%20kq%20-&size=large&coord=yes&cap=no&stm=yes&fb=no&theme=classic&color1=E3CEAA&color2=635147&color3=000000
r3k2r/Pppp1ppp/1b3nbN/nP6/BBP1P3/q4N2/Pp1P2PP/R2Q1RK1 w kq - 0 1
Or mirrored (with the same perft results):
r2q1rk1/pP1p2pp/Q4n2/bbp1p3/Np6/1B3NBn/pPPP1PPP/R3K2R b KQ - 0 1

Depth
Nodes
Captures
E.p.
Castles
Promotions
Checks
Checkmates
1
6
0
0
0
0
0
0
2
264
87
0
6
48
10
0
3
9467
1021
4
0
120
38
22
4
422333
131393
0
7795
60032
15492
5
5
15833292
2046173
6512
0
329464
200568
50562
6
706045033
210369132
212
10882006
81102984
26973664
81076

Position 5

This position was discussed on Talkchess and caught bugs in engines several years old at depth 3.[5]
external image RNBQK2R%20w%20KQkq%20-&size=large&coord=yes&cap=no&stm=yes&fb=no&theme=classic&color1=E3CEAA&color2=635147&color3=000000
rnbqkb1r/pp1p1ppp/2p5/4P3/2B5/8/PPP1NnPP/RNBQK2R w KQkq - 0 6

Depth
Nodes
1
42
2
1352
3
53392

Position 6

An alternative Perft given by Steven Edwards [6] [7]
external image R4RK1%20w%20-%20-&size=large&coord=yes&cap=no&stm=yes&fb=no&theme=classic&color1=E3CEAA&color2=635147&color3=000000
r4rk1/1pp1qppp/p1np1n2/2b1p1B1/2B1P1b1/P1NP1N2/1PP1QPPP/R4RK1 w - - 0 10

Depth
Nodes
0
1
1
46
2
2,079
3
89,890
4
3,894,594
5
164,075,551
6
6,923,051,137
7
287,188,994,746
8
11,923,589,843,526
9
490,154,852,788,714

Forum Posts


External Links


References

  1. ^ Perft FEN data by Steven Edwards, CCC, November 18, 2012
  2. ^ Perft(12) count confirmed by Steven Edwards, CCC, April 25, 2011
  3. ^ kiwipete perft position by Russell Reagan, CCC, January 04, 2003
  4. ^ Impossible perft question by Andy Duplain, CCC, August 01, 2013
  5. ^ REPORT: wrong perft result by qperft by Jesús Muñoz, CCC, February 14, 2012
  6. ^ An altenative perft() initial FEN by Steven Edwards, CCC, July 11, 2013
  7. ^ Some perft() results for that alternative test position by Steven Edwards, CCC, August 26, 2013

What links here?


Up one level