Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Opinions requested -- what to do when qsearch ends in checkmate...

Author: Tony Werten

Date: 02:09:46 07/26/03

Go up one level in this thread


On July 25, 2003 at 02:41:22, Dann Corbit wrote:

>Now, a qsearch ending in checkmate may or may not really be a checkmate. After
>all, we only tried certain moves and it could very well be that the checkmate
>could be avoided.
>
>So, the burning question is...
>What should we do when the qsearch ends in a mate?
>There are lots of alternatives, from the primitive "return a mate" to "send a
>danger signal up the tree and let the regular search deal with it" to
>"extending" to...
>
>What is your favorite choice and why?

Depends.

If you sarched all legal moves, you can return checkmate.

If you are the side who gives checkmate, you can return checkmate.

So only if you are being checkmated, and you did not try all legal moves, you
return eval.

Tony




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.