Geschrieben von: / Posted by: Eli Bendersky at 11 February 2004 12:11:50:
Als Antwort auf: / In reply to: Re: A new extensive chess programming tutorial geschrieben von: / posted by: Tom Likens at 10 February 2004 20:52:58:
Eli,
This looks interesting and the style of writing is conversational and easy to read (which is
a nice way to go with it). A couple of questions though, why did you select a mailbox
representation for your chess board rather than 0x88 data architecture? I think long term
you will reap more benefit from the 0x88 data structure since it has a lot of nice
features that come releatively cheap (e.g. in-check detection can be made fairly fast
with this data structure and you will do a *lot* of in-check detection one way or another).
Moreland's program Gerbil is a good place to look for a basic implementation of the
technique.
Also another question you will want to answer quickly, besides the type of piece and its
color, is if it is a sliding piece (i.e. Queen, Rook or Bishop). Other items you'll want to
extract quickly are things like the rank and file of a square etc.
Anyway, just a few random thoughts. Good luck with your project.
regards,
--tom
Thanks for all the replies, guys. I'm happy that you like the writing
style (I had some concerns about it

Regarding representations. As I said a few times in the tutorial, my first
goal is to create a very simple agent, even if it's slow and stupid. It will
give me a good base to move on, introducing improvements.
I'm aware of 0x88, other array tricks, bitboards, etc. For now, I'm beginning
with something very simple, and later I'll definitely improve it. The important
thing is that all those steps will be documented in the tutorial, so it will
take readers through many implementations (all profiled and compared for performance, of course).
Eli