Article View: gnu.chess
Article #1885Re: Weakening GNU Chess
From: Simon Waters
Date: Fri, 18 Jan 2002 00:34
Date: Fri, 18 Jan 2002 00:34
27 lines
2094 bytes
2094 bytes
David Jaquay wrote: > > Is it possible (or, preferably, easy) to weaken GNU Chess 5.x to play > weaker players? Well if your after "open source" so you don't mind recompiling it right? First lose the opening book (just rename the book.dat file), or "book off" at the command line (No good for xboard or winboard). Then shrink the default HASHSIZE right down (hashsize at the commandline), but it is easier to buid it with a smaller hashsize in common.h This doesn't help much but it is the right direction..... To get enterprising but not strong chess edit the CTL function in eval.c, and multiply up the central control, mobility, and king attack bonuses being added by a nice big factor (try 3 or 4 for each, just cut and paste the "s += n" lines a few times where you find it). This will make the program play harder for central control and the like and care less about material. It'll still play a recognisable and mean game of chess, but it won't be playing 2100 level.
Technical Details
Message-ID:
<3C476DA4.65A4BE9@wretched.demon.co.uk>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!dispose.news.demon.net!news.demon.co.uk!demon!wretched.demon.co.uk!not-for-mailReferences:
<m08zawlipp.fsf@localhost.localdomain>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d71d,fa597d3ae3d1e16b X-Google-Attributes: gid10d71d,public X-Google-ArrivalTime: 2002-01-17 16:35:02 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!dispose.news.demon.net!news.demon.co.uk!demon!wretched.demon.co.uk!not-for-mail From: Simon Waters <Simon@wretched.demon.co.uk> Newsgroups: gnu.chess Subject: Re: Weakening GNU Chess Date: Fri, 18 Jan 2002 00:34:44 +0000 Organization: Eighth Layer Limited Message-ID: <3C476DA4.65A4BE9@wretched.demon.co.uk> References: <m08zawlipp.fsf@localhost.localdomain> NNTP-Posting-Host: wretched.demon.co.uk X-NNTP-Posting-Host: wretched.demon.co.uk:193.237.109.203 X-Trace: news.demon.co.uk 1011314093 nnrp-13:15539 NO-IDENT wretched.demon.co.uk:193.237.109.203 X-Complaints-To: abuse@demon.net X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.19 i686) X-Accept-Language: en-GB, en-US, en MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Lines: 27