Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: How to extend if only one reply?

Author: Severi Salminen

Date: 00:11:56 01/24/01

Go up one level in this thread


>
>I do this, yes.  Because if you know you are in check, most of the moves a
>normal move generator will produce are illegal.  It is faster to simply not
>generate them.  This has the added convenience of giving you a real easy way
>of detecting the case where you have only one legal move so you can extend.

Oh well then, another move generator to do...

>I didn't do this in Cray Blitz so there is an alternative.  Do the normal
>search, but each time you search a legal move, inc a counter.  When you are
>done searching all moves, if the counter == 1, there was only one legal one
>to search.  Search it _again_ but one ply deeper...

Sounds time consuming...I hate all these researchs :) I _do_ use a legal move
counter (for other purposes) but I believe it is faster to generate only legal
"check evasive" moves as I allready pass the "being in check" information to the
next ply.

Severi



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.