Article View: gnu.chess
Article #5174Re: Bug in PawnValue
From: Roger Uzun
Date: Fri, 08 Apr 1994 03:03
Date: Fri, 08 Apr 1994 03:03
16 lines
1354 bytes
1354 bytes
In 4pl69 the line in question in pawnvalue, is already as below: In PawnValue () in eval.c, there is a slight bug. The line in question already appears as below: if (rank != 0 && color[sq-8] == white && board[sq-8] == pawn) s -= PCRASH; This is what yourecommended to change it to, but it is already sq-8 in pl69, is this correct? Should we change it to sq+8? Were you thinking of rank != 7? -Roger -------------------------------------------------------------- bix: ruzun NET: uzun@crash.cts.com
Technical Details
Message-ID:
<Cnx753.JMG@crash.cts.com>Path:
arc1-ca.pugleaf.net!gmd.de!urmel.informatik.rwth-aachen.de!newsserver.rrzn.uni-hannover.de!ina.zfn.uni-bremen.de!marvin.pc-labor.uni-bremen.de!news.uni-stuttgart.de!news.belwue.de!zib-berlin.de!zrz.TU-Berlin.DE!netmbx.de!Germany.EU.net!EU.net!howland.reston.ans.net!agate!dog.ee.lbl.gov!newshub.nosc.mil!crash!uzunReferences:
<2o0mi1$ne4@nuscc.nus.sg>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d71d,c0da08b1980cb9a X-Google-Attributes: gid10d71d,public X-Google-ArrivalTime: 1994-04-07 20:03:02 PST Newsgroups: gnu.chess Path: arc1-ca.pugleaf.net!gmd.de!urmel.informatik.rwth-aachen.de!newsserver.rrzn.uni-hannover.de!ina.zfn.uni-bremen.de!marvin.pc-labor.uni-bremen.de!news.uni-stuttgart.de!news.belwue.de!zib-berlin.de!zrz.TU-Berlin.DE!netmbx.de!Germany.EU.net!EU.net!howland.reston.ans.net!agate!dog.ee.lbl.gov!newshub.nosc.mil!crash!uzun From: uzun@crash.cts.com (Roger Uzun) Subject: Re: Bug in PawnValue Organization: CTS Network Services (CTSNET/crash), San Diego, CA Date: Fri, 8 Apr 1994 03:03:02 GMT Message-ID: <Cnx753.JMG@crash.cts.com> References: <2o0mi1$ne4@nuscc.nus.sg> Sender: news@crash.cts.com (news subsystem) Nntp-Posting-Host: crash.cts.com Lines: 16