Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Please give definition of move generator!!!

Author: Bas Hamstra

Date: 19:01:59 10/28/00

Go up one level in this thread


On October 28, 2000 at 19:16:06, leonid wrote:

>Hello!
>
>Please give definition of expression: "Move generator".
>
>I found already few times that my understanding of this expression is not usual.
>By reading one recent message here in Chess Club, that speak about "move
>generator", I just wanted to become sure about this expression.
>
>For the sake of "maybe needed", will say what I thought "move generator" is in
>reality. Move generator is the part of the code that generate all moves for
>given position. Usually (at least in my program) this part generate all legal
>moves for given position and make initial alignment of moves in its chain.
>
>To generate the initial 20 moves in the game (just as example) move generator
>should be called once to produce them all.

That is what most do, yes. However, some programs use move generators that
generate one move at a time. In that case you call the movegenerator for every
move. They try to find the best move (or at least a very good one) at once, so
they don't have to spend the effort for the other moves.

Ciao!
Bas.









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.