Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Let the king capture or generate legal moves

Author: Michel Langeveld

Date: 08:45:16 11/20/04

Go up one level in this thread


Hi Reinhard,

Nice to read something from you here. Smirf seems to be improved.
Your perft times are very fast. Do you make the moves after you generated them?

Here are mine times:

tscpgothic> perft 1
total perft = 28
Moves made: 28
Time needed: 0.000 sec

tscpgothic> perft 2
total perft = 784
Moves made: 812
Time needed: 0.000 sec

tscpgothic> perft 3
total perft = 25283
Moves made: 26151
Time needed: 0.015 sec

tscpgothic> perft 4
total perft = 808984
Moves made: 840982
Time needed: 0.516 sec

tscpgothic> perft 5
total perft = 28946187
Moves made: 30043121
Time needed: 18.531 sec

These times are on PIII 800MHz.
Your time is 19 times faster ... but did you also made 3 million moves?
Else we compare apples and oranges.

I compiled TSCPGothic for normal chess. It is affraid to play e2e4. Too strong
kingsafety values ... I miss a winboard interface that is Gothic Chess capable
:-)

Best regards,

Michel


On November 20, 2004 at 11:25:22, Reinhard Scharnagl wrote:

>Hi Michel,
>
>I clearly decided for a legal move generator, with no need (always) to check
>whether the king is in check after the move (exception: e.p. captures).
>
>The timing is sufficient.
>
>FEN: rnbqckabnr/pppppppppp/0/0/0/0/PPPPPPPPPP/RNBQCKABNR w KQkq - 0 1
>
>  +-*--b--c--d--e--*--g--h--i--*-+ MS Vis. Studio C++ Vers. 13.10
>8 |[r][n][b][q][c][k][a][b][n][r]| (Compilation: Nov  7 2004)
>7 |[p][p][p][p][p][p][p][p][p][p]|
>6 |   :::   :::   :::   :::   :::| Perft Testseries
>5 |:::   :::   :::   :::   :::   |
>4 |   :::   :::   :::   :::   :::| (without caching)
>3 |:::   :::   :::   :::   :::   |
>2 |<P><P><P><P><P><P><P><P><P><P>| Smirf Test No.: 07
>1 |<R><N><B><Q><C><K><A><B><N><R>|
>=>+-*--b--c--d--e--*--g--h--i--*-+ Break Time 250.0 Sec.
>
>Ply     Nodes    all (x)   (e.p.)    all (+) all (++)    Promot.    Castl. Sec.
>-------------------------------------------------------------------------------
>1          28          0        0          0        0          0         0    0
>2         784          0        0          0        0          0         0    0
>3       25283        387        0        120        0          0         0    0
>4      808984      14812        0       4019        0          0         0    0
>5    28946187     907953      468     304360        0          0         0  1.0
>6  1025229212   36740962    14017   11052055      118          0         0 34.3
>7 39532257395 1838308392  1216940  621202264    34167          0       120 1304
>-------------------------------------------------------------------------------
>
>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.