Article View: gnu.chess
Article #5186timeout problem -- fix
From: Dr Michael J. White
Date: Tue, 12 Apr 1994 12:51
Date: Tue, 12 Apr 1994 12:51
22 lines
1251 bytes
1251 bytes
With depth set to some value, sometimes gnuchessr times out. I think this is not the intent of the depth command. I've noticed this in just a very few positions. The following fix will correct this. (Unfortunately, I can't tell if this has side effects when playing a regular game against gnuchess, so use this fix at your own risk.) In main.c there are two lines: else if (TimeControl.moves[opponent] == 0) replace them with: else if ((TimeControl.moves[opponent] == 0) && TCflag) Now, with depth set to say, 6, it goes to depth 6, not 5, not 4, but 6! Mike
Technical Details
Message-ID:
<2oe5gk$pb4@vixen.cso.uiuc.edu>Path:
arc1-ca.pugleaf.net!gmd.de!nntp.gmd.de!newsserver.jvnc.net!netnews.upenn.edu!dsinc!ub!news.kei.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!vixen.cso.uiuc.edu!osiris.cso.uiuc.edu!mwhiteShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d71d,61c109d6939de000,start X-Google-Attributes: gid10d71d,public X-Google-ArrivalTime: 1994-04-12 05:51:32 PST Path: arc1-ca.pugleaf.net!gmd.de!nntp.gmd.de!newsserver.jvnc.net!netnews.upenn.edu!dsinc!ub!news.kei.com!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!vixen.cso.uiuc.edu!osiris.cso.uiuc.edu!mwhite From: mwhite@osiris.cso.uiuc.edu (Dr Michael J. White) Newsgroups: gnu.chess Subject: timeout problem -- fix Date: 12 Apr 1994 12:51:32 GMT Organization: University of Illinois at Urbana Lines: 22 Message-ID: <2oe5gk$pb4@vixen.cso.uiuc.edu> NNTP-Posting-Host: osiris.cso.uiuc.edu