Author: Andrew Williams
Date: 05:14:43 02/17/02
Go up one level in this thread
On February 17, 2002 at 08:12:11, Gian-Carlo Pascutto wrote: >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 No. It has no eval code to recognize that. Andrew
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.