Author: Peter Fendrich
Date: 16:29:28 01/10/04
Go up one level in this thread
On January 10, 2004 at 19:09:34, Toni wrote: >Hi all, > >I've written the move generation routines for my engine. I'm now debugging them. >I've tested some positions in which there are castlings, en-passant captures and >promotions, and everything seems OK, but when computing perft sometimes it gives >wrong values at depth 4 or higher. The question is how to debug that, since the >number of moves involved is enormous. > >regards > >fermath perft 4 did an error: Make the moves one at a time and compare perft 3 with crafty. When you find an error do the same with perft 2. Finally you will track it down. This will find errors like missing e.p, bad castling rules, bad promotion rules etc but not necessarily overflows and other memory bugs. /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.