Author: Dieter Buerssner
Date: 21:26:06 05/08/03
Go up one level in this thread
On May 08, 2003 at 21:52:37, Ryan B. wrote: >p->doNullMove(*imove); >value = -AlphaBeta(depth - 3, -beta, -beta + 1); >p->undoNullMove(*imove); >if (value >= beta) >return beta; >In doNullMove(*imove) I am just updating some flags and switching the player. >My guess is that it isn't just this simple and I'm missing the point all >together. It is almost as easy as that. You just should not do it, when in check. Probably you don't want to do it, in pawn endgames. Perhaps not in other late endgames. BTW. YOur search does not find mate or stalemate. You have a ply variable, however it seems global? You probably need to increment it for the null move, too, like in your search loop. Regards, Dieter
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.