Computer Chess Club Archives


Search

Terms

Messages

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

Author: Uri Blass

Date: 23:48:33 04/13/03

Go up one level in this thread


On April 14, 2003 at 01:53:52, Martin Bauer wrote:

>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

Note that Movei also does not use bitboard for generating moves but it does not
mean that there is no information about the attacked squares.

Information about the attacked squares is updated after every move.

Uri



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.