NOTE: This FAQ is fully updated to cover the GNU Chess 5.08 release announced January 2011.
NOTE: All versions before 5.04 contain known security related bugs, we advise running the latest version.
bug-gnu-chess and info-gnu-chess are not for general chess or computer chess discussion. You won't be flamed if you post such messages here, but you will find more information in other places. See topic [A.3] below.
The mailing lists are no longer routine synchronized with the newsgroups due to spam issues.
Visit the mailing list web page
If you want to be added to or deleted from the mailing list, mail to email@example.com.
Like other GNU software, you can get GNU Chess, XBoard, and WinBoard by anonymous FTP from http://ftp.gnu.org/pub/gnu/ and its many mirror sites. Look in the subdirectories chess xboard, and winboard. The .tar.gz suffix on the files there indicates they were packed with tar and compressed with gzip.
Version 5.08 was the last released version of GNU Chess 5 series.
Tim Mann is the lead developer on XBoard and WinBoard and questions about those fine programs should be directed to him.
If you are using Unix, run the "script" program, run XBoard with the -debug flag (if you get as far as running it), do whatever is necessary to reproduce the problem, type "exit" to the shell, and mail us the resulting typescript file. We also need to know what hardware/operating system combination you are using. The command "uname -a" will usually tell you this; include its output in your typescript.
If you are using WinBoard run it with the -debug flag, and send us a copy of the WinBoard.debug file. If you aren't sure how to add command-line flags to WinBoard, you can hit Ctrl+Alt+F12 to create a WinBoard.debug file after WinBoard starts, but that is not as good, because a few messages that would have been printed at the start are lost.
Either way, please send us the exact text of the commands you typed and the output you got, not just your recollection of approximately what they were. The messages may seem meaningless to you, but they are very meaningful to us and essential for diagnosing problems.
You should be able to contact all the members of the project by sending mail to firstname.lastname@example.org. If you don't trust this list, you can send mail about this FAQ to Simon Waters but send mail about XBoard or WinBoard to the bug-xboard&gnu.org; Comments that are of interest to all users of the software should be posted to the info or bug mailing lists.
GNU Chess is a communal chess program. Contributors donate their time and effort in order to make it a stronger, better, sleeker program. Contributions take many forms: interfaces to high-resolution displays, opening book treatises, speedups of the underlying algorithms, additions of extra heuristics. These contributions are then distributed to the large user-base so that all may enjoy the fruits of our labor.
GNU Chess is written in C and C++ and should be portable to most general purpose computers.
For a test drive of the previous version, try WebChess, a World Wide Web interface provided by DJ Delorie. The URL is http://www.delorie.com/game-room/chess/.
The ratings that are commonly given for computer chess players are less meaningful than they may seem. Most computer chess players (including GNU Chess) do not play in tournaments against humans, or do so only rarely, so they do not have official ratings from FIDE, USCF, or other chess organizations.
Some people have methods for rating chess programs approximately by giving them a set of problems to work on and seeing how they do, or by having them play tournaments against each other. Any rating number produced by such means should be taken with a grain of salt; it may be only a rough approximation to the rating the program would achieve in over-the-board tournament competition against humans. The chess skills required for solving problems or playing against other computers are not necessarily the same as those required for play against humans. Also, of course, tournaments among computers can rate the computers only relative to one another, not relative to humans. Some of the computers need to be rated by other means to give the ratings a basis to start from.
Compared with human players, computer players are strong tactically but weak strategically, and are much better at blitz chess than at slow chess. These differences make it more difficult to assign a meaningful rating too.
Several computers do play regularly on the Internet chess servers and have achieved ratings there. These ratings have the advantage of being based on many games. On the other hand, ICS ratings are only roughly comparable to USCF or FIDE ratings. Many players have ICS ratings that are hundreds of points higher or lower than their USCF or FIDE ratings.
Finally, unlike dedicated chess machines, or PC chess programs that run on only a few different models of Intel processors, GNU Chess runs on many different kinds of CPU at many different speeds. Thus its strength depends on how fast a machine you run it on and how much optimization your C compiler does. Some people have formulas for estimating how a computer player's rating varies on faster or slower machines---see the rec.games.chess FAQ for more information---but these need to be taken with a grain of salt too.
All that said, here are some numbers.
- On the Free Internet Chess Server (freechess.org), GNU Chess 5.04 running on a Cyrix 166Mhz processor (Pentium 200MHz equivalent), with default settings attained a blitz rating of above 2100.
On a 2.4Ghz Pentium 4 with 512MB of RAM "nextgnu" on FICS attained standard rating of 2296, a Blitz ranking of 2237, and a Lightening rating of 2513 (Oct 2004).
To unpack the GNU Chess distribution, gnuchess-*.tar.gz, put it into a new, empty directory, cd there, and give this Unix command:
tar xvfz gnuchess-*.tar.gzIf this command fails because you don't have gzip, see topic [A.3], and ask a local Unix expert if you need more help.
The above command will unpack all the files into a new directory. Next, cd into this new directory, and read the README and INSTALL files.
GNU 5.03 release is the first to conform to the GNU configure; make ; make install installation scheme. The opening book will need to be created and placed in /usr/local/bin/book.dat (or other appropriate location) with appropriate privileges.
GNU CC is the supported compiler, but we make efforts to support other C compilers. If you encounter an issue with compiling GNU Chess with any current C compiler please report it as a bug, we might not fix it, but we like to know, and can share workarounds as they become available.
Apple ship an old version of GNU Chess as a sub-project inside an Apple licenced graphical user interface. Please contact Apple if you wish to report a bug with this program.Source code for Apple program is found here.
Thanks to Matthias Neeracher for information on the Apple Chess program.
Occurs whenever gnuchess encounters a problem. Most recent cases occur only on SUN's a fix is available for the problem on Solaris, and is fixed in 5.03. Make sure you have the latest versions of GNU Chess and Xboard.
The default hashsize for 5.02 is too large for some older computers. Either issue the command "hashsize 1000" or recompile with smaller hashsize settings in common.h
The hashsize is the number of positions the computer remembers to spot transpositions in its analysis.
5.03 uses a smaller default hashsize.
The hashslots command line option can be used to increase the default hash table size. Increasing the hashsize usually improves the quality of chess played by the program. The value is currently rounded down to the nearest power of 2 (1024, 2048, 8096 etc).
A gremlin crept into the documentation. The command is "book add" not "book create".
This documentation error is corrected in 5.03.
GNU Chess version 5 only has one executable, unlike version 4. The xboard interface for GNU Chess is invoked using the command line option "--xboard"
Thus I use the following command to invoke xboard '/usr/local/bin/xboard -fcp "/usr/bin/gnuchess --xboard" -fd "/usr/local/bin" -scp "/usr/local/bin/gnuchess --xboard" -sd "/usr/local/bin"'
The GNU chess 5.02 download contains a 40 MB PGN book that must be compiled. In 5.03 this file is now a seperate file to download.
XBoard and WinBoard are graphical user interfaces for chess. XBoard runs on Unix systems, WinBoard on 32-bit Windows systems. Both programs display a chessboard on the screen, accept moves made with the mouse, and load and save games in Portable Game Notation (PGN). They serve as a front-end for many different chess services. The WinBoard distribution includes a port of GNU Chess. XBoard and WinBoard are free software. Xboard and Winboard from Tim Mann's web site (topic [A.3]).
With version 5.06 support for icsdrone has been introduced.
This is a resource provided for developers only.
Thanks to Dann Corbit for these links
Copyright © 2001, 2002, 2003, 2004, 2009, 2011 Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.
Updated: $Date: 2011/09/11 18:00:12 $ $Author: aceballos $