Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Does swap of Crafty find bad promotions

Author: Robert Hyatt

Date: 13:52:09 01/11/04

Go up one level in this thread


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




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.