Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Easy for humans

Author: Gian-Carlo Pascutto

Date: 05:12:11 02/17/02

Go up one level in this thread


On February 17, 2002 at 07:02:21, Andrew Williams wrote:

>Mine penalizes the score like this:
>
>oppBishopMultiplier = min(16, (OPPCOLBISH + diffPawns + diffPassers +
>                               howManyRunners + HOWMANYWHITEPIECES +
>                               HOWMANYBLACKPIECES));
>
>score = ((score * oppBishopMultiplier) >> 4);
>
>OPPCOLBISH is a constant.
>
>diffPawns and diffPassers are absolute differences in the number of pawns and
>passers. howManyRunners is how many passed pawns can't be stopped by the
>opposing King. So the more of these things there are, the smaller the reduction
>applied to the score. Obviously this isn't efficient or fast, but that's quite
>typical of the rest of PM anyway :-)

Thanks. I'll have to look into using something similar. My current code
obviously isn't good enough.

Does your program understand that the rook is completely trapped?

--
GCP



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.