Perft Results

From Chessprogramming wiki
Jump to: navigation, search

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], when Perft(14)[2] and Perft(15)[3] were provided by Ankan Banerjee.

    
    
    
    
    
    
    
    


        
        
        
        


♜♞♝♛♚♝♞♜
♟♟♟♟♟♟♟♟
        
        
        
        
♙♙♙♙♙♙♙♙
♖♘♗♕♔♗♘♖

rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1

Depth Nodes Captures E.p. Castles Promotions Checks Discovery Checks Double Checks Checkmates
0 1 0 0 0 0 0 0 0 0
1 20 0 0 0 0 0 0 0 0
2 400 0 0 0 0 0 0 0 0
3 8,902 34 0 0 0 12 0 0 0
4 197,281 1576 0 0 0 469 0 0 8
5 4,865,609 82,719 258 0 0 27,351 6 0 347
6 119,060,324 2,812,008 5248 0 0 809,099 329 46 10,828
7 3,195,901,860 108,329,926 319,617 883,453 0 33,103,848 18,026 1628 435,767
8 84,998,978,956 3,523,740,106 7,187,977 23,605,205 0 968,981,593 847,039 147,215 9,852,036
9 2,439,530,234,167 125,208,536,153 319,496,827 1,784,356,000 17,334,376 36,095,901,903 37,101,713 5,547,231 400,191,963
10 69,352,859,712,417
11 2,097,651,003,696,806
12 62,854,969,236,701,747 [4]
13 1,981,066,775,000,396,239
14 61,885,021,521,585,529,237 [5]
15 2,015,099,950,053,364,471,960 [6]

Perft 10

Perft 11

Perft 12

Perft 13

Summary

Position 2

also known as Kiwipete by Peter McKenzie [7]. The number of double-checks in depth 5 is discussed in Talkchess [8] and may be 2645 instead of 2637.

    
    
    
    
    
    
    
    
     
  
   
      
      
     

     
♜   ♚  ♜
♟ ♟♟♛♟♝ 
♝♞  ♟♞♟ 
   ♙♘   
 ♟  ♙   
  ♘  ♕ ♟
♙♙♙♗♗♙♙♙
♖   ♔  ♖
r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq - 
Depth Nodes Captures E.p. Castles Promotions Checks Discovery Checks Double Checks Checkmates
1 48 8 0 2 0 0 0 0 0
2 2039 351 1 91 0 3 0 0 0
3 97862 17102 45 3162 0 993 0 0 1
4 4085603 757163 1929 128013 15172 25523 42 6 43
5 193690690 35043416 73365 4993637 8392 3309887 19883 2637 30171
6 8031647685 1558445089 3577504 184513607 56627920 92238050 568417 54948 360003

Position 3

    
    
    
    
    
    
    
    
        
       
       
     
     
        
      
        
        
  ♟     
   ♟    
♔♙     ♜
 ♖   ♟ ♚
        
    ♙ ♙ 
        
8/2p5/3p4/KP5r/1R3p1k/8/4P1P1/8 w - - 
Depth Nodes Captures E.p. Castles Promotions Checks Discovery Checks Double Checks Checkmates
1 14 1 0 0 0 2 0 0 0
2 191 14 0 0 0 10 0 0 0
3 2812 209 2 0 0 267 3 0 0
4 43238 3348 123 0 0 1680 106 0 17
5 [9] 674624 52051 1165 0 0 52950 1292 3 0
6 11030083 940350 33325 0 7552 452473 26067 0 2733
7 178633661 14519036 294874 0 140024 12797406 370630 3612 87
8 3009794393 267586558 8009239 0 6578076 135626805 7181487 1630 450410

Position 4

    
    
    
    
    
    
    
    
     
 
    
      
    
      
   
    
♜   ♚  ♜
♙♟♟♟ ♟♟♟
 ♝   ♞♝♘
♞♙      
♗♗♙ ♙   
♛    ♘  
♙♟ ♙  ♙♙
♖  ♕ ♖♔ 
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 [10] and caught bugs in engines several years old at depth 3 [11] and was also reported wrong here [12], hopefully now corrected with the results given by Steven Edwards, July 18, 2015 [13]

    
    
    
    
    
    
    
    
  
 
       
        
       
        
 
  
♜♞♝♛ ♚ ♜
♟♟ ♙♝♟♟♟
  ♟     
        
  ♗     
        
♙♙♙ ♘♞♙♙
♖♘♗♕♔  ♖
rnbq1k1r/pp1Pbppp/2p5/8/2B5/8/PPP1NnPP/RNBQK2R w KQ - 1 8  
Depth Nodes
1 44
2 1,486
3 62,379
4 2,103,487
5 89,941,194

Position 6

An alternative Perft given by Steven Edwards [14] [15]

    
    
    
    
    
    
    
    
     
  
    
     
     
    
  
     
♜    ♜♚ 
 ♟♟ ♛♟♟♟
♟ ♞♟ ♞  
  ♝ ♟ ♗ 
  ♗ ♙ ♝ 
♙ ♘♙ ♘  
 ♙♙ ♕♙♙♙
♖    ♖♔ 
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

See also

Forum Posts

2000 ...

2010 ...

2015 ...

2016

Re: yet another attempt on Perft(14) by Ankan Banerjee, CCC, September 09, 2016

2017 ...

Re: perft(15) by Ankan Banerjee, CCC, August 25, 2017

2020 ...

External Links

References

Up one level