Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Extend on Check

Author: Volker Böhm

Date: 22:37:36 07/28/04

Go up one level in this thread


Hi,

what do you "extend" in quiescese, only "check-evades" (king is in check - all
evades are done, not only captures) or checking moves (move that set king in
check) too?

What extends do you have you in total in normal search? (Make sure, that you
NEVER add extensions to add more than one depth at one position).

"Usual" Extend Algorithm for main search:

DoMove(Position, Move)
if (InCheck(Position)) Extend = 1; else Extend = 0;
// Usually limit extensions to the double of RootDepth (Depth value at root)
if (Ply + Depth + Extend > RootDepth * 2) Extend = 0;
PosVal = -Search(Position, -Beta, -Alpha, Depth - 1 + Extend, !Wtm);
UndoMove(Position, Move);

Do you use the same algorithm?

Greetings Volker



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.