Article View: gnu.chess
Article #5279Re: 4.0 p62 weak in endgame?
From: Tom Vijlbrief
Date: Tue, 30 Nov 1993 13:52
Date: Tue, 30 Nov 1993 13:52
21 lines
1198 bytes
1198 bytes
c9524@rrzc1a.uni-regensburg.de (Ulrich Windl) writes:
>Yesterday I let it play against itself: finally white had
>3 pawns, 1 rook, 1 queen, while black had a rook (besides each party having
>a king). Gnuchess took quite a long time to win (with white, of course 8-)).
There is a bug in pl62 that it does not take the best (i.e. shortest)
mating move.
This is the fix (in search() in search.c)
/* look at each move until no more or beta cutoff */
do_pvs= 0;
for (pnt = pbst = TrPnt[ply]; pnt < TrPnt[ply + 1] &&
(best <= beta || (ply == 1 && best > 9000)); pnt++) /* Find best mate, TomV */
{
Tom
Technical Details
Message-ID:
<CHB585.Fv7@izf.tno.nl>Path:
arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!darwin.sura.net!europa.eng.gtefsd.com!uunet!EU.net!sun4nl!izfcs!tomReferences:
<C9524.93Nov30092838@rrzc1a.uni-regensburg.de>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d71d,2386a3c04338f1a3 X-Google-Attributes: gid10d71d,public X-Google-ArrivalTime: 1993-11-30 07:12:32 PST Newsgroups: gnu.chess Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!darwin.sura.net!europa.eng.gtefsd.com!uunet!EU.net!sun4nl!izfcs!tom From: tom@izf.tno.nl (Tom Vijlbrief) Subject: Re: 4.0 p62 weak in endgame? Message-ID: <CHB585.Fv7@izf.tno.nl> Organization: TNO Institute for Perception References: <C9524.93Nov30092838@rrzc1a.uni-regensburg.de> Date: Tue, 30 Nov 1993 13:52:53 GMT Lines: 21