Author: John Boyd
Date: 15:52:06 05/09/03
Go up one level in this thread
On May 09, 2003 at 09:17:35, Geoff wrote: >Hi > >That would makes sense as I am using MS Visual Studio version 5 > >>What compiler are you using? I think (as I read in other forums) MS have not >the problem. People say is a compiler dependient issue. > >Changing the subject slightly, how did you get on with adding NULL move to TSCP >? I have just tried that mod, it is surprisingly little code but has introduced >2 nasty bugs that I cannot understand at the moment. > >1) Some test positions cause a fault where the seach never returns. > >2) If the time elapses the timeout code that corrects for the fact that we were >x ply down into the search no longer works properly > >Still trying to figure this out, trying to debug Null move code is tricky to say >the least !! > > Geoff Hi Geoff, One area to look is in takeback(). The standard TSCP takeback() code assumes that the side to move alternates between black and white but this won't do. Somehow you have to detect who just moved. I do this by explicitly testing the color of the piece[to] square. Nullmove does get a bit tricky but once its fixed.... wooohooo! Regards, Ross
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.