Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: piece list possibilities

Author: Dave Gomboc

Date: 07:31:08 07/09/98

Go up one level in this thread


On July 08, 1998 at 20:33:41, Bruce Moreland wrote:

>
>On July 08, 1998 at 17:27:41, Tom Kerrigan wrote:
>
>>My problem was that I invariably forgot about the dead-bit scheme and did all
>>sorts of calculations assuming that captured pieces existed.
>
>The only place they exist is in the piece list, and unless you are somehow
>randomly accessing your piece list, the only way you'll access this is via a
>loop, so write the loop once and copy-paste :-)
>
>bruce

Why copy-paste?  What's wrong with a routine and an "inline this" compile
directive?

Dave Gomboc



This page took 0.01 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.