Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Static Exchange Evaluation Question

Author: Will Singleton

Date: 21:51:33 01/24/99

Go up one level in this thread


On January 25, 1999 at 00:18:52, James Long wrote:

>
>I'll share mine with you.
>The basic idea is to see if "psq" (pinned square)
>is pinned to the piece on "sq."
>
>The first test is to see if they
>are on the same file, rank, or diagonal.
>
>The second test is to check for pieces
>between the two squares (making a pin impossible).
>
>Finally, look on the other side of "psq"
>for a piece capable of pinning (i.e. an enemy
>bishop or queen for diagonals).
>
>Notice you can use this function to look
>for "material pins," too.  For example, seeing
>if the knight on F3 is pinned to the queen
>on D1...
>
>Hope this helps. :-)
>
>---
>James
>

Thanks, James, nice to hear from you.  How's the new program coming?

Have you an idea how much the pin code costs in terms of speed?  And does it
seem to solve the problem, that is, do you notice that your program doesn't fall
for pinning tactics?

Will




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.