Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: My board squishy idea

Author: KarinsDad

Date: 12:41:48 06/04/99

Go up one level in this thread


On June 04, 1999 at 15:17:18, Dann Corbit wrote:

>Represent pawns by position only, and store e.p. as follows:
>If a white pawn is e.p. vulnerable, set the position to be first row.
>If a black pawn is e.p. vulnerable, set the position to be eighth row.
>Since the very presence of e.p. vulnerabilty tells us where the pawn is, we
>don't need to store any e.p. bits that way.

Dann,

Good idea except (there is always an except).

I can store e.p. in 1 bit.

I do not store pawns on back and front ranks.

Hence, I can often save multiple bits by storing few back and front rank
squares. In other words, the other pieces there take 4 bits each instead of the
5 of if there were to be a pawn there.

When you weigh that against 1 bit for e.p., ...

KarinsDad :)

PS. I got frustrated after my last attempt at this a few weeks back resulted in
about 166 bits worse case, but I will probably go back to it in the next few
weeks. However, it is so compressed now that I currently see no way to make it
more so.



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.