Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: detect pinned pieces in eval?

Author: Ulrich Tuerke

Date: 05:35:13 10/19/00

Go up one level in this thread


On October 19, 2000 at 03:12:43, Rafael Andrist wrote:

>I'm actually writing a little chess program and want to detect pinned pieces in
>the evaluation function because i do calculations, how often a piece is attacked
>and "defended". If it's now attacked by 3 and defended by 3, but one of them is
>pinned, the search needs 5 or 6 ply to detect the pinned piece. Has someone an
>idea how to solve this problem in eval or is it only possible in search?

It's possible using a so-called static exchange evaluation. I guess, this is a
rather sophisticated algo. I myself have never tried it but as far as I know
it's used in crafty. So you could check what Bob is doing there.

Uli



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.