Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Sticks and Stones idea to reduce # of BITS for storing chess positions

Author: Andrew Dados

Date: 00:40:47 10/27/99

Go up one level in this thread


On October 27, 1999 at 03:26:52, Les Fernandez wrote:

>On October 27, 1999 at 02:55:27, Andrew Dados wrote:
>
>> Hey there, KarinsDad! Long time...
>>
>>  There is something I don't get with your schema. Suppose we're at some point
>>parsing that bit sequence and bits reading there are '0100...'. Is it a black
>>pawn followed by 2 empty squares, black N followed by one empty sq, or just
>>black rook? Or is it just 3 a.m. here ? :)
>>
>>-Andrew-
>
>Hello Andrew,
>
>I guess I am not the only nut up at this NY hour <s>.  Yes it is 3:00am <s> and
>you must be a bit (excuse the pun) sleepy. Just kidding.  No the 0100 only
>involves the description of the piece at the particular square position.  ie the
>0100 which appears say on the 7th square is represented by the following method:
> The first bit (0) tells us it is a black piece and the next three bits is the
>rook which according to my key is equal to a "4".  Therefore on square 7 we have
>a black rook.  What you need to keep in mind is that each line of binary
>represents 1 square of the chess board.  Thanks so much for the quick response
>and let me know if yo have any other questions or comments.  Would love to hear
>them.  Time for me to get some sleep. See you hopefully tomorrow.
>
>Les

 'each line of binary
  represents 1 square of the chess board.'

Duh... that means you need to store line breaks somehow... (title of post has
'storing' in it). Or is it already 4 a.m. :)
-Andrew-



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.