🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.chess
Article #5108

Fix for ScoreKBNK routine

#5108
From: Chua Kong Sian
Date: Fri, 11 Feb 1994 08:30
17 lines
1051 bytes
The ScoreKBNK () routine in pl 67 does not quite work.  The following
2 lines have to be added just before the return (s); statement like so.

   s -= (8*taxicab(king1,king2) + 2*distance(Nsq,king2) + 
                                    distance(Bsq,king2)); 
   s += KingEnding[king1];
   return (s);


This seems to work fine now.  I've tested a few KBNK positions and 
with self play, gnu is able to mate itself in less than 35 moves most
of the time.

Regards.

Kong Sian
Technical Details
Message-ID: <2jffme$hd7@nuscc.nus.sg>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!raffles.technet.sg!nuscc.nus.sg!nsrccks

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d71d,4a125563ff526c1a,start
X-Google-Attributes: gid10d71d,public
X-Google-ArrivalTime: 1994-02-11 00:30:06 PST
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!raffles.technet.sg!nuscc.nus.sg!nsrccks
From: nsrccks@leonis.nus.sg (Chua Kong Sian)
Newsgroups: gnu.chess
Subject: Fix for ScoreKBNK routine
Date: 11 Feb 1994 08:30:06 GMT
Organization: National University of Singapore
Lines: 19
Message-ID: <2jffme$hd7@nuscc.nus.sg>
NNTP-Posting-Host: leonis.nus.sg
X-Newsreader: TIN [version 1.2 PL0]