Computer Chess Club Archives


Search

Terms

Messages

Subject: perft and crafty

Author: Mridul Muralidharan

Date: 00:25:43 02/15/04


Hi,

  I was trying to test the move generator of the new engine that I am writing
and was making use of crafty to fix its bugs.
Looks like there could be a potential bug with crafty itself in perft mode.

I tried

trace 5
perft5


and I get this sequence in the crafty output :

Nf3 Nc6 e4 Nd4 Ke1e2

[D] r1bqkbnr/pppppppp/8/8/3nP3/5N2/PPPP1PPP/RNBQKB1R w KQkq - 0 3

The move Ke2 is illegal - moves into check.
My understanding was that these moves should not figure out in perft.
Am I correct here ?
If yes ,
then were can I get more acccurate perft generator - which can also show me the
move trace in case I have to debug ?
(This bug/feature in crafty makes it worthless for perft for me - the numbers
are always wrong now - and so have to dig deeper to get actual count).

Thanks in advance
Mridul



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.