Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Finding mate in the quiesce search: SOLVED!

Author: Alessandro Scotti

Date: 09:00:27 08/24/04

Go up one level in this thread


On August 24, 2004 at 08:45:56, Alessandro Scotti wrote:

>What value do you return when you find a mate in the quiesce search? I used to
>return a "mate" score but then I found this is not correct because many paths
>were not considered in quiesce, so sometimes I got a "mate in n" score at the
>root which wasn't really a forced mate. I've patched the bug by returning a
>fixed value for now, but... which value is best?

Ok guys, I did manage to take just a quick peek at the code after all and I
found that as Tord said (and Kols, Robert, Alvaro, Anthony and practically
everyone else here in the CCC but me!) there was a one-line bug in the quiesce
code that wouldn't pickup the stand pat score when appropriate.
That's now fixed and everything works well! :-)
A bit *THANKS* to you all! :-) Bug aside, it's been an enlightening discussion
for me.





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.