Author: martin fierz
Date: 10:13:23 10/18/04
Go up one level in this thread
On October 18, 2004 at 13:02:14, GeoffW wrote: >Reading through my code, I have spotted another big bug which would be causing >problems in this area. > >As I mentioned before I was only calculating a SEE value in my qsearch. I had >forgotten I have now got the following code in the qsearch function > >/* are we in check? if so, we want to search deeper */ >weAreInCheck = inCheck(sideToMove); > >if (weAreInCheck) > generateAllMoves(); /* crude way of generating check evasions */ >else > generateCaptures(); > >The generateCaptures() will calculate a SEE score for each move but the normal >generateAllMoves() will skip SEE calculation and have a 0 score for all moves. > >So when I am in check the SEE code will badly screw up when i'm in check in alphabeta i don't enter the qsearch. if i run into a check in the qsearch, i drop out to alphabeta again. i don't see any other sensible way of doing this. cheers martin
This page took 0.01 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.