Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: What is Perft? (quick clarifying question)

Author: Peter Fendrich

Date: 05:42:20 01/08/03

Go up one level in this thread


On January 08, 2003 at 04:51:15, Russell Reagan wrote:

>On January 08, 2003 at 04:37:09, Peter Fendrich wrote:
>
>>You should know by now...-:)
>>Did you find out what your perft problem was?
>
>No, but it's fixed :) I re-worked the way I handled castling rights and made
>sure I was updating them correctly in special cases (like when a rook is
>captured, remove its castling rights), and it worked, so it must have been
>something with the castling rights, but I never nailed down exactly what it was.
>I changed several things (mostly those special cases) and it worked, so it must
>have been one of those cases (or several) that got fixed. Thanks for your help
>BTW ;-)

In that case, you're ready for the "final" test!
[D]r3k2r/p1ppqpb1/bn2pnp1/3PN3/1p2P3/2N2Q1p/PPPBBPPP/R3K2R w KQkq -
1: 48
2: 2039
3: 97862
4: 4085603
5: 193690690
It tests all the rules in chess except for a few situations, like this one:
[D]k7/8/8/2r1Pp1K/8/8/8/8 w - f6
exf6 e.p. is invalid
1: 5
2: 75
3: 471
4: 7883
5: 50052

Regards,
Peter



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.