Computer Chess Club Archives


Search

Terms

Messages

Subject: Attack Tables:

Author: Nicolas Carrasco

Date: 14:05:06 11/09/99


Dear Guys,

I heared that Grommit 2.2 uses Attack Tables that are arrays like this:

Given a 10x12 board:
________________________________________________________________________
short white_attacks[120];

if (4&white_attacks[A1])
{
   // piece number 2 of white attacks A1 (1,2,4,8,16,... for piece 0,1,2,3,4..)
}
________________________________________________________________________
From Frank Schneider

I would be pleased to know what are attack tables and their uses since I am
rewriting my generator?

Thanks



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.