Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Clarification

Author: Uri Blass

Date: 00:27:10 04/19/02

Go up one level in this thread


On April 19, 2002 at 01:54:32, Gian-Carlo Pascutto wrote:

>On April 18, 2002 at 19:41:40, Gian-Carlo Pascutto wrote:
>
>>[D]5N2/2n5/7k/5Pp1/ppr5/4B3/Pb4PP/3R2K1 w - g6 0 2
>>
>>White can play fxg6 e.p and *check*.
>>
>>My program has been broken on this kind of position, for, eh,
>>forever probably.
>
>To clarify:
>
>the issue isn't about finding the right move (I have no idea
>which one that would be), but to see if the program understands
>that after gxf6 black is in check.
>
>This move uncovers a check along a different diagonal than the
>one where the pawn moves along, and it's also not one going
>through the from or to squares. My program doesn't check this;
>I never thought it would be possible. Others may have the smae
>bug too, especially if you have an optimized incheck function.
>
>--
>GCP

My program always calculates attack information for every square in the board so
it has no problem to see that the king is in check after fxg6.

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.