Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Crafty perfectly legal (Bob?)

Author: Dan Honeycutt

Date: 10:29:02 03/16/04

Go up one level in this thread


On March 15, 2004 at 16:33:37, David Mitchell wrote:

>On March 15, 2004 at 08:47:38, Andrew Wagner wrote:
>
>Some intelligence has been found useful however. Crafty is one example of this.
>When Crafty's king is in check, the move generator changes from pseudo-legal, to
>perfectly legal move generation, only.

my move generation is patterned after Crafty and Pepito (except i do legal move
generation) so i'm pretty familiar with Crafty's move generation.  to do legal
move generation you have to look at pins on the piece moving - which Crafty does
with the king in check.  you also have to look at pins on the captured piece in
the case of an enpassant capture - if removal of the captured pawn will uncover
an attack on the king.  i may be wrong, but i don't think Crafty does that.

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.