Computer Chess Club Archives


Search

Terms

Messages

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

Author: Reinhard Scharnagl

Date: 08:25:22 11/20/04

Go up one level in this thread


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.