Author: Sune Fischer
Date: 23:38:03 11/25/02
Go up one level in this thread
On November 25, 2002 at 22:12:07, Russell Reagan wrote: >I'd like to know which free engines support the perft command, and more >specifically, if any will work with illegal positions. For example, I'd like to >do some testing of specific parts of my move generator, and so I'd like to be >able to do something like perft on a position like: > >8/8/5N2/8/3N4/8/8/8 w - - 0 1 > >And just be able to test knight non-captures (for example). When I tried this >with Crafty, it adds a white king on e1 (but not a black one, which was odd). >Yace simply doesn't accept the position, and I don't know which other engines >support perft. I tried a few others with a position containing only a pawn on >d4, and they all gave odd results, like 16, 6, etc. for perft 1. The test still works, even with kings. If you get the same number as eg. Crafty, then your knight moves are fine :) You can start testing with only kings, then kings + knights, then kings + pawns etc. I can give you a 3 test positions I posted here a while ago, people responded with their perft numbers: // castle test: [D]r3k2r/3q4/2n1b3/7n/1bB5/2N2N2/1B2Q3/R3K2R w KQkq - 0 1 dep #nodes quot sum nodes 0 1 [ 0.000] 1 1 47 [ 47.000] 48 2 2409 [ 51.255] 2457 3 111695 [ 46.366] 114152 4 5664262 [ 50.712] 5778414 5 269506799 [ 47.580] 275285213 // ep test: [D]rnbq1bnr/1pppkp1p/4p3/2P1P3/p5p1/8/PP1PKPPP/RNBQ1BNR w - - 0 1 dep #nodes quot sum nodes 0 1 [ 0.000] 1 1 22 [ 22.000] 23 2 491 [ 22.318] 514 3 12571 [ 25.603] 13085 4 295376 [ 23.497] 308461 5 8296614 [ 28.088] 8605075 // promotion test: [D]rn1q1bnr/1bP1kp1P/1p2p3/p7/8/8/PP1pKPpP/RNBQ1BNR w - - 0 1 dep #nodes quot sum nodes 0 1 [ 0.000] 1 1 37 [ 37.000] 38 2 1492 [ 40.324] 1530 3 48572 [ 32.555] 50102 4 2010006 [ 41.382] 2060108 5 67867493 [ 33.765] 69927601 -S.
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.