Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Help with a little debug question

Author: Reinhard Scharnagl

Date: 00:29:16 10/18/04

Go up one level in this thread


On October 18, 2004 at 03:17:20, Reinhard Scharnagl wrote:

>On October 17, 2004 at 22:58:35, William Bryant wrote:
>
>>I am reaching for straws here, but, knowing the experience on this board,
>>someone might have had this problem too.
>>
>>My move generator comes up short of perft.
>>Specifically, from the starting position it is 20 move short on perft 3.
>>
>>I get 20 at ply 1
>>I get 400 at ply 2 (20 responses)
>>But I only get 8882 at ply 3 (reguardless of wether black starts first or white)
>>
>>I have checked all the special move, double pawn moves, ep moves, castling and
>>can't seem to find
>>the error.
>>
>>Any suggestions.
>>
>>William
>>(BTW, this is a new engine for me, 64 bits wide for my new (hopefully) G5))
>
>Try to have a more detailed statistic. You could specify the type of wrong
>handled moves easier. Here is the way my Smirf creates results (P4 2.8 GHz):
>
>FEN: rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1
>
>  +-*--b--c--d--*--f--g--*-+ MS Vis. Studio C++ Vers. 13.10
>8 |[r][n][b][q][k][b][n][r]|
>7 |[p][p][p][p][p][p][p][p]| Perft Testseries
>6 |   :::   :::   :::   :::|
>5 |:::   :::   :::   :::   | (without caching)
>4 |   :::   :::   :::   :::|
>3 |:::   :::   :::   :::   | Test #:      00
>2 |<P><P><P><P><P><P><P><P>|
>1 |<R><N><B><Q><K><B><N><R>| Break Time 75.0 Sec.
>=>+-*--b--c--d--*--f--g--*-+
>
>Ply     Nodes    all (x)   (e.p.)    all (+)      (#)    Promot.    Castl. Sec.
>-------------------------------------------------------------------------------
>01         20          0        0          0        0          0         0    0
>02        400          0        0          0        0          0         0    0
>03       8902         34        0         12        0          0         0    0
>04     197281       1576        0        469        8          0         0    0
>05    4865609      82719      258      27351      347          0         0  0.2
>06  119060324    2812008     5248     809099    10828          0         0  5.2
>07 3195901860  108329926   319617   33103848   435767          0    883453  137
>-------------------------------------------------------------------------------
>
>May be the (hopefully correct) numbers therein could be used for comparing
>purposes.
>
>Regards, Reinhard.

There seems to be a 20 move difference. As far as I could imagine there are 20
officer captures pawn moves that level. Does this work sufficiently?

Reinhard.



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.