Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: To check or not to check, this is the quiescence question

Author: Andrew Williams

Date: 10:52:36 10/12/03

Go up one level in this thread


On October 12, 2003 at 11:49:49, Omid David Tabibi wrote:

>On October 12, 2003 at 11:13:22, Andrew Williams wrote:
>
>>
>>My get_me_out_of_check() function generates captures of the attacking piece,
>>then if it's a sweeper it walks between king and attacker generating blocking
>>moves. Finally it looks at the King's escape squares to see if they are
>>clear/attacked.  The nice thing about this is that you can use your attackboards
>>to do lots of this work. The nasty thing is that if you use it in the normal
>>search, you run the risk of appalling losses until you iron out all the bugs.
>>Caveat emptor (I don't know what "user of a technique" is in Latin).
>
>Good idea. Will try to implement it tonight, but it would be hard to debug since
>I cannot compare the new nodes count to the old one as the order of moves will
>change using the new check evasion move generator. Using this move generator
>also helps in knowing the exact number of legal moves, which can be used for one
>reply extension.
>

I think the best way to debug it is to tell it to spit out the moves into a
temporary area and then compare the output with your normal approach. PM played
several hundred games with this approach before I ran it independently. It's
slower, but a reasonably safe way of debugging.

Cheers

Andrew




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.