Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Perft 5

Author: Tony Werten

Date: 07:19:36 05/07/03

Go up one level in this thread


On May 07, 2003 at 10:01:34, Alexander Kure wrote:

>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.

I already wrote that in the part you deleted :(

Tony

>
>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.