Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: knight outposts

Author: Tony Werten

Date: 06:27:23 08/26/04

Go up one level in this thread


On August 26, 2004 at 07:48:57, Jan K. wrote:

>With bitboards you can store the info in much more elegant way it seems, of
>course the outcome is the same :) i don't have a problem with "what-to-evaluate"
>but "how-to-store-it"....ie with bitboards in pawn evaluation you can exactly
>say "this is a strong square" and then put the info into one 64-bit integer for
>both sides, without it you have to use multiple arrays unless you find something
>clever. ;)

Store a bitboard in your pawnhash :)

Then in your evaluation do a "if (pawnhash->strongsquares & BBmask[piece_sq]) do
strongsquarestuff"

Tony



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.