Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: SEE & accuracy

Author: Robert Hyatt

Date: 20:51:52 08/23/04

Go up one level in this thread


On August 23, 2004 at 14:52:26, Paul Clarke wrote:

>On August 23, 2004 at 10:14:54, Stuart Cracraft wrote:
>
>>On August 21, 2004 at 23:12:34, Robert Hyatt wrote:
>>>That part is simple.  Produce a list of pieces directly attacking the target.
>>>Each time you make a capture you _always_ use the smallest piece.  And once you
>>>use it, if it is not a knight or king, you look "behind" the piece you just used
>>>to see if there is a piece that moves in the same direction.  If so, add _that_
>>>piece to the list of attackers, and the next cycle you still use the smallest
>>>piece from that list...
>>>
>>>
>>>Repeat until one side runs out of capturng pieces...
>>>
>>>Then minimax the result...
>>
>>Bob, I understand why one doesn't do it for the knight, but why not the king?
>>Example, a bishop and king on a diagonal. King captures pawn, some other
>>recapture, then the knight before the king recaptures the recapturer.
>>
>>I thik you have to look "behind" everything except the knight for x-ray
>>pieces, no?
>
>I'm not Bob, but I think I see his reasoning here: the piece behind the king
>could only come into play if the king is captured, after which there's no point
>in recapturing.


Also I said "look behind the piece just 'used' to see if there is another piece
that moves in the same direction."  Knights don't move in a "direction" only
sliders and pawns do that...  So knights can't expose an attack on the target
square if the knight also attacks that square...




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.