Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: My pawn evaluation code (Bugfix)

Author: Dann Corbit

Date: 10:06:55 11/27/01

Go up one level in this thread


On November 27, 2001 at 01:28:23, Pham Minh Tri wrote:

>[snip]
>>Extensions : Check   114677  : OneRep      106  : CMThreat    440
>>           : Pawn     54674  : Recap    106410  : RevCheck   2852
>
>I am curious what is RevCheck? Thanks.

Revealed check extensions.  The complete source code base for Beowulf is
publicly available.  The official version will always be found here:
http://www.ast.cam.ac.uk/~cmf/chess/beowulf.html
And you can sometimes find Alpha and Beta versions (along with released
versions) here:
ftp://cap.connx.com/pub/chess-engines/new-approach/BEOWULF.ZIP

Here is the code snippet in question:

        /* Check extension (if we're giving check this move) */
        if (gchk && Skill > 2) {
            Extensions += CHECK_EXTEND;
            CheckExtensions++;
            /* Revealed Check Extension (Not 100% accurate, but near enough)
             * Test to see if the piece giving check is not the piece moving.
             * This fails if the piece moving also gives check, and is tested
             * first. */
            if (gchk != p) {
                Extensions += REVCHECK_EXTEND;
                RevCheckExtensions++;
            }
        }



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.