Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Need help understanding Null Move please

Author: Dieter Buerssner

Date: 14:48:40 05/09/03

Go up one level in this thread


Another thing, I forgot. You probably don't want to allow a null move, when the
last move was a null move. There are other methods, like doing always exactly 2
null moves in a row.

Your code snippet did not show calls to quiescences search. Depending on where
and when you check this normally, you might need something like

  if (depth - 3 > 0)
    score = -absearch(depth-3, ...);
  else
    score = -qsearch(...);

Your code showed:

  value = -AlphaBeta(depth - 1, -beta, -alpha);
        } else
        value=-alphabeta(p,depth-1,-beta,-alpha);

Some typos? Or do you have different search functions? (Different spelling and
different parameters, here).

Good luck,
Dieter



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.