Computer Chess Club Archives




Subject: Pre-calculated move generation

Author: ujecrh

Date: 09:31:22 06/26/00

I wonder if it has already been tried or if it is not useful/feasible at all.

The idea is that, excepting special moves like castle or en-passant we could
easilly generate all possible moves for all possible piece/square at the very
start of the engine. It would fill some arrays (like
rook_moves[square][directions][moves/or destination square])with a total of
about 4000 entries.

Having not to generate moves during the search itself might save some time and
even a slow move generator wold not be a problem as it would be called only at
initialization of the engine.

Is that completely wrong ?


This page took 0.03 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.