Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: How can I escape from check in Qsearch?

Author: Uri Blass

Date: 06:16:28 05/04/05

Go up one level in this thread


On May 03, 2005 at 14:12:07, Tony Werten wrote:

>On May 03, 2005 at 13:51:35, Kevin K wrote:
>
>>    quiesce(int alpha, int beta) {
>>        int score = eval();
>
>         if (in_check) score=-MATE;

This must be wrong.

not every check is mate.

You probably mean
if the last move is illegal score=-MATE;

Uri



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.