Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: General Tips and Tricks for debugging a search.

Author: Pallav Nawani

Date: 16:57:22 06/15/05

Go up one level in this thread


Hi,

I used the following method to help me debug the check evasions code:

(a) Write a simple perft check it to be bug free.
(b) Now introduce move ordering, fetching one move at a time, etc code in the
perft. Node count of this perft should match with the one in (a).
(c) Now add check evasions code and check the node count again. It should be
equal to (a) again.

Whenever I add something like this to search which should not change the node
count, I test it with perft first (Where applicable).


Pallav



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.