Instructions
Both Jazz and Sjaak are distributed under the terms of the GNU General Public
Licence. Both programs should work properly on any flavour of Linux, as
well as Mac OS X and Windows. I'll provide executables for as many systems
as I can below, but in case these don't work I'll also include detailed
descriptions for how to compile the source code.
Direct download links:
Postduif
N.B.: Postduif does not play normal chess! This is not a
bug.
Sjaak
Jazz
Leonidas
Prerequisites
If you wish to compile the programs from source code you will need:
- A C99 compiler, such as GCC.
Possible alternatives are Clang
or the Intel
C/C++ compiler, but these have not been tested. The Microsoft
compiler does not have very good C99 support and will probably
not work. In Windows, I've got it to compile using the MinGW compiler (install using the
automated installer) in the past, but these days I use a
cross-compiler from Linux.
- GNU Make. This probably comes with the compiler (strictly speaking,
this is optional, since you could use another build system,
like XCode on a Mac; see the next step)
- CMake, a cross-platform
configuration tool and Makefile generator.
- Allegro 5 (optional).
You don't need this unless you want to compile the native GUI for Jazz
and Sjaak (disabled by default).
Compiling
Download and unpack the source archive in a location of your choice. Next,
you'll need to prepare the package for compilation using CMake. It is
recommended to do a so-called "out-of-source" build, so all generated files
are in a separate directory, leaving the source directory clean.
From a terminal, type:
$ cd <source-dir>
$ mkdir Build
$ cd Build
$ cmake ..
For <source-dir>, substitute the directory where you
unpacked the source code.
If you want to change some of the default options, you can do so easily
with the command line program ccmake, or with the CMake GUI.
After the source has been prepared, run make to compile the
program(s).
For Jazz you have the choice between the XBoard interface
(xbjazz) and the UCI interface (ucijazz).
The XBoard interface for Sjaak is called xsjaak, for Leonidas it
is xleo.
|