Computer Chess Club Archives


Search

Terms

Messages

Subject: Counting moves with 'perft n'

Author: Ruben Razquin

Date: 08:09:20 09/11/02


People have recently posted results of move generation speed for several engines
using de 'perft n' command. I did not get the same number of moves when I
performed some tests with the engine I am developing.

'perft 1' gives 20 moves for new game's piece position.
'perft 2' gives 420 moves, while other engines give 400 moves. I am counting 20
moves generated for root level plus 400 moves generated at the next level. White
has 20 possible moves and black can reply with 20 diferent moves. That
represents 400 possible chess positions, but the engine has to generate and call
the move/unmove functions 420 times. Why do other engines count 400 moves only?
Is that correct?

Ruben Razquin




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.