Author: Dann Corbit
Date: 16:41:47 06/05/03
Go up one level in this thread
On June 05, 2003 at 14:04:39, Geoff wrote:
[snip]
> if (doNull && !weAreInCheck && (depth >= NULL_R+1))
> {
> /* switch off Null move if getting towards the endgame */
> if ((pieceMat[WHITE] > 500) && (pieceMat[BLACK] > 500))
> {
> nullMovesMade++;
>
> /* update the rep_history just so things don't get funky: */
> fifty++;
> sideToMove ^= 1;
> otherSide ^= 1;
> epTemp = ep;
> ep = -1;
>
> /* NULL_R = 2 */
> nullScore = -search(-beta, -beta+1, depth-NULL_R-1,
>FALSE);
>
> ep = epTemp;
> sideToMove ^= 1;
> otherSide ^= 1;
> fifty--;
>
> nullMovesMade--;
>
> /* check to see if we can get a quick cutoff from our null move: */
> if (nullScore >= beta)
> return beta;
>
> }
> }
>
> generateAllMoves();
In the above:
No adjustment to ply depth during null move?
The takeback does not seem to have enough information restored to me, but I
don't know your data structures.
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.