Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: annoying en passant x-ray

Author: Mike Byrne

Date: 19:49:14 12/01/03

Go up one level in this thread


On December 01, 2003 at 02:47:58, Matthias Gemuh wrote:

>On November 30, 2003 at 18:26:15, Mike Byrne wrote:
>
>>On November 30, 2003 at 17:18:19, Georg v. Zimmermann wrote:
>>
>>>[b]8/8/8/8/3R1p1k/8/4P3/6K1 w - - 0 1
>>>
>>>white moves pawn, black can not capture en passant. wonderfull, breaks my new
>>>move generator.
>>>
>>>Uri, I think you are the expert on this. Ideas for workarounds ? :-)
>>>
>>>But the main reason I am posting is: are there any other situations like the
>>>above where I can with one move move 2 pieces out of the way of an x-ray attack
>>>?
>>>
>>>Georg
>>
>>the way to handle this is to generate all moves, elimnate those that still leave
>>you in check, if you don''t have a move and you are not in check, that is
>>stalemate and if you are still in check no matter what you do - that's mate.
>
>
>
>Georg's aim is to avoid this slow method !

I thought I was stating the obvious!



This page took 0.01 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.