Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: (pseudo)code for legal-movegenerator

Author: Martin Bauer

Date: 22:53:52 04/13/03

Go up one level in this thread


On April 13, 2003 at 18:38:03, Landon Rabern wrote:

>This is what I do currently in Betsy when in check to generate moves.
>
>First find all the squares the king can move to that are not occupied by your
>own pieces.  This is quick with bitBoards, just:
[...]

Hi,

thank you very much. This is what I am looking for. Now I must see, if I can
implement it efficiently, because at the moment I dont use bitboards and there
is no information about the attacked squares.

Bye

Martin





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.