Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Check evasion and enpassent moves

Author: Dan Honeycutt

Date: 17:27:20 08/23/04

Go up one level in this thread


On August 23, 2004 at 19:47:03, Mridul Muralidharan wrote:

>Hi,
>
>  I am rewriting my Check evasion function and have this doubt.
>Can you have a enpassent capture move that takes you out of check when the
>checking piece is not the previously moved pawn ?
>
>In all cases I could think of , this is not possible - but maybe I am missing
>something here.
>
>If I am wrong , would be great if someone could give an example position.
>
>Thanks
>Mridul

Someone could feed your program a fen with such a (illegal) position so you may
want to take some defense just to make sure that doesn't cause a crash.

Dan H.



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.