Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: annoying en passant x-ray

Author: Mike Byrne

Date: 15:26:15 11/30/03

Go up one level in this thread


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.



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.