Author: Alexander Kure
Date: 07:01:34 05/07/03
Go up one level in this thread
On May 07, 2003 at 07:37:43, Tony Werten wrote: [..] >If you weren't incheck, then there is only 1 way of being in check. The >fromsquare of the moved piece was attacked by a slider. Find the direction in >wich to travel from the kingsquare to the from_square ( easy with 0x88) and look if there is an opponent slider on that line. Unfortunately your rule does not cover the special case of a en-passant capture. The captured opponent pawn can open up lines for the opponent sliding pieces that can now attack your king. Greetings Alex
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.