Computer Chess Club Archives


Search

Terms

Messages

Subject: Crafty perft command with pawn promotion

Author: Larry Griffiths

Date: 07:03:04 07/30/00


I entered the following position in Crafty in the hopes of finding how many
moves were generated when pawn promotion occurs.  I am thinking that Crafty will
show the pawn promoting to all 4 piece types I get the following results.
It looks like ply 1 is combining both the white and the black moves and I do not
know what is happening at ply 2.


White(1): display

       +---+---+---+---+---+---+---+---+
    8  | *K|   |   |   |   |   |   |   |
       +---+---+---+---+---+---+---+---+
    7  |   |   |   |   |   |   |   | P |
       +---+---+---+---+---+---+---+---+
    6  |   |   |   |   |   |   |   |   |
       +---+---+---+---+---+---+---+---+
    5  |   |   |   |   |   |   |   |   |
       +---+---+---+---+---+---+---+---+
    4  |   |   |   |   |   |   |   |   |
       +---+---+---+---+---+---+---+---+
    3  |   |   |   |   |   |   |   |   |
       +---+---+---+---+---+---+---+---+
    2  |   |   |   |   |   |   |   |   |
       +---+---+---+---+---+---+---+---+
    1  |   |   |   |   |   |   |   | K |
       +---+---+---+---+---+---+---+---+
         a   b   c   d   e   f   g   h

White(1): perft 1
total moves=7  time=0.00
White(1): perft 2
total moves=19  time=0.00
White(1):



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.