Article View: gnu.chess
Article #5682Re: Strange behavior gnuchess
From: Tim Mann
Date: Wed, 09 Dec 1992 04:46
Date: Wed, 09 Dec 1992 04:46
25 lines
2039 bytes
2039 bytes
Gary Cattelino (gary@st.unocal.com) wrote: : I've been using gnuchess-4.0.pl60/xboard-2.0.pl25 as a chess : learning tool. I like to use the backward/forward feature of : xboard to try out different move sequences and see how they : play out. When I'm done playing a sequence, I select "Machine Black" : and continue the game. I've noticed that when I play like this, : gnuchess sometimes plays very badly. It selects incorrect moves that : allow it to be checkmated or gives away pieces. I've saved positions : and loaded them back in to see if gnuchess would make the same : bad moves and it doesn't! It plays much better from the saved : position than it did the first time around. What's causing this!? : Why does the use of forward/backword cause gnuchess to select such : bad moves? I thought position evaluation was a deterministic thing. : Is gnuchess selecting random moves? : I've recently submitted a fix for this bug. It isn't some interesting defect in the algorithm (sorry, Kris Kugel). Rather, gnuchess is failing to initialize a flag used in detecting whether the user has typed something to interrupt gnuchess's search. So occasionally it will stop searching instantly after starting, resulting in a random move. This seems to happen only when you use xboard and click in commands fast. At any rate, it will be fixed in the next patchlevel. --Tim
Technical Details
Message-ID:
<1992Dec9.044621.26964@src.dec.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!decwrl!pa.dec.com!src.dec.com!src.dec.com!mannReferences:
<1992Nov25.164043.23499@unocal.com> <Byny3C.HtA@hico2.westmark.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d71d,effef620a6ca8de0 X-Google-Attributes: gid10d71d,public X-Google-ArrivalTime: 1992-12-09 08:33:43 PST Newsgroups: gnu.chess Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!decwrl!pa.dec.com!src.dec.com!src.dec.com!mann From: mann@src.dec.com (Tim Mann) Subject: Re: Strange behavior gnuchess Message-ID: <1992Dec9.044621.26964@src.dec.com> Sender: news@src.dec.com (News) Reply-To: mann@src.dec.com Organization: DEC Systems Research Center References: <1992Nov25.164043.23499@unocal.com> <Byny3C.HtA@hico2.westmark.com> Date: Wed, 9 Dec 92 04:46:21 GMT Lines: 25