Computer Chess Club Archives




Subject: Re: Move table

Author: Bruce Moreland

Date: 09:55:53 01/12/99

Go up one level in this thread

On January 12, 1999 at 09:39:16, KarinsDad wrote:

>On January 12, 1999 at 04:16:39, Bruce Moreland wrote:

>>For example, one component of my eval is piece-square tables.  If you want to
>>incrementally keep track of the positional value, you'd normally subtract out
>>the value of the "from" square and add in the value of the "to" square, for a
>>given piece and color.  I have the value right there in the table, so I can just
>>add it in without calculating indexes.
>Now do you do this recursively on the stack or do you carry the piece-square
>table around on your hash table?

The current positional value is in a global variable.  I mess with it in
"makemove" and I put it back in "unmakemove".


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.