Computer Chess Club Archives


Search

Terms

Messages

Subject: Attack Tables

Author: Scott Gasch

Date: 19:37:11 02/28/01


Hi all,

I've really thought that attack tables were missing from my program for a while
now.  I already spend a bunch of time in eval computing the control of squares
near the king as part of my king safety term.  I also compute square control in
front of passers currently.

So I am now considering keeping an incremental attack table as part of the
position structure and updating at MakeMove and UnmakeMove.  The attack table
entry for a particular square will have info about the number of white/black
K/P/N/B/R/Qs that directly attack that square.  This is going to slow me WAY
down, I understand.  I will recoup some speed in routines like InCheck, SEE and
ControlsSquare, though...

I hope to use the attack table for more than I currently do in eval.  Terms like
control of center, bonus for placing pieces where they are protected, who
controls more of the total board etc... become possible.

Before undertaking such a fundamental change to my program, though, I wondered
what advice others who may have tried this before might have for me...

Thanks,
Scott




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.