Computer Chess Club Archives


Search

Terms

Messages

Subject: Debugging a chess program

Author: Russell Reagan

Date: 15:53:45 12/20/03


I have a question for chess programmers. I'd like to know some of the methods
that you use to find bugs in your chess programs. A few that come to mind are:

Perft, to debug movegen/make/undo

Mirroring/rotating/etc. the board to test evaluation

Creating an independent version of your search that will run in parallel in a
debug build, and verifying that the positions match after each move that is made
or undone. For instance, the independent version could be a completely different
board representation, 0x88 and bitboards (or whatever).

Any other methods that you use to find bugs?



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.