🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.chess
Article #5594

Routine RookValue in eval.c

#5594
From: Chua Kong Sian
Date: Thu, 08 Apr 1993 05:30
18 lines
1252 bytes
In the routine RookValue in eval.c, there is this statement.

if (PC2[fyle]==0) s+= RHOPNX;

What this does is that if the enemy has an open/half open file (ie.
there is no enemy pawns on that file), then the current side gets some
bonus points if it has a rook on the file.

Unfortunately this does not take into account the possibility of
gnuchess moving its own rook behind it own pawn even when the opponent's
pawn on that file is missing.  This isn;t a very meaningful thing to
do.  I suggest we do away with this bonus. 

PS:  This phenomena has been observe many times in watching
maxwell/maxii/gnufour play on ICS.

Chua KS
ccecks@nusunix.nus.sg
Technical Details
Message-ID: <1993Apr8.053051.13734@nuscc.nus.sg>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!newsserver.technet.sg!nuscc!nusunix2.nus.sg!ccecks

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d71d,9a7c12f235516492,start
X-Google-Attributes: gid10d71d,public
X-Google-ArrivalTime: 1993-04-08 00:15:46 PST
Newsgroups: gnu.chess
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!newsserver.technet.sg!nuscc!nusunix2.nus.sg!ccecks
From: ccecks@nusunix1.nus.sg (Chua Kong Sian)
Subject: Routine RookValue in eval.c
Message-ID: <1993Apr8.053051.13734@nuscc.nus.sg>
Sender: usenet@nuscc.nus.sg
Organization: National University of Singapore
X-Newsreader: TIN [version 1.1 PL6]
Date: Thu, 8 Apr 1993 05:30:51 GMT
Lines: 19