Author: Anthony Cozzie
Date: 05:10:55 12/09/03
Go up one level in this thread
On December 08, 2003 at 21:30:56, Federico Corigliano wrote: >Hi to all > >I rewrote some parts of my engine (about 40%), including move generation and >data structures, and I want check them for instability, illegal moves, crashes, >etc. >Of course a great number of games against other engines is in my todo list, but, >you can recommend me some kind of special test to help in the bug checking? >Also, once that I have a bug, are there special utilities that you can recommend >me to help me in the debugging and localization of the bug? > >Regards, >Federico Write a "validate position" function. For example, you can make sure your piecelist matches your board[64], or whatever datastructures you happen to be using. That will catch 90% of them, and as Mridul said a boundschecker will help a lot as well. anthony
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.