Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: perft weirdness

Author: Uri Blass

Date: 03:31:57 01/02/03

Go up one level in this thread


On January 02, 2003 at 06:15:08, Russell Reagan wrote:

>>On January 02, 2003 at 05:14:26, Uri Blass wrote:
>>
>>>I suggest that you ask your program to give you a list of legal moves and
>>>numbers of perft n-1 in the same run that you calculate perft n.
>
>I went ahead and implemented it and I already found one significant bug that was
>causing unmoved pawns not to capture (at all!). Thanks for the suggestion. this
>should help me find the errors faster. I'm using it with your perft.exe program
>in Winboard and it makes finding the error much faster than doing it manually.
>Thanks Uri.
>
>Russell

It is not relevant in the position that you posted because there are no pawns
in the board.

If you find bugs in my perft function then I am interested to know about them.
I cannot be sure of no bugs because I discovered bugs of generating illegal
moves even months after the program was running with no crush.

The function may be wrong when enpassent move is legal because it always assume
that enpassent is illegal when it reads FEN(you can correct it by making a move
in force mode before asking the program to calculate perft.

Uri



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.