Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Does swap of Crafty find bad promotions

Author: Uri Blass

Date: 14:55:11 01/11/04

Go up one level in this thread


On January 11, 2004 at 16:52:09, Robert Hyatt wrote:

>On January 11, 2004 at 15:47:04, Uri Blass wrote:
>
>>I do not see a word about promotions in swap.c of Crafty but maybe there is
>>something that I do not understand.
>>
>>Uri
>
>Swap() will only find capture promotions.  It really doesn't do anything
>with them, because the value is a pawn, not a queen, and the normal Swap()
>code handles that just fine.  IE if you treat it as simply dxe8, that is
>good enough, you are winning a piece.  If your opponent re-captures, he
>only gets a pawn, not the queen you promoted to...

If the pawn is pinned you may need to capture with something else.

[D]rn6/P7/K7/8/8/6k1/1Q6/8 w - - 0 1

If I understand correctly
SEE of Crafty is going to consider QxN as a bad capture.

Uri



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.