Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Easy for humans

Author: Colin Frayn

Date: 12:55:14 02/17/02

Go up one level in this thread


On February 17, 2002 at 08:33:58, Benny Antonsson wrote:

>You implemented opposite coloured bishops in 10 minutes ?

I work quickly :)

>How does your code look ?

Oh I just implemented it naively.  If each side has <16 points on the board,
there are opposite coloured bishops (and no other bishops) otherwise equal minor
pieces and equal major pieces (in value at least) and there are the same amount
of pawns then just halve the score.

If the number of pawns differs by one then halve the score too - I'm wondering
if I should perhaps give a less severe penalty for that.

Anyway, it works ;)   (for this position at least)

Cheers,
Col



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.