JChess is a chess engine, entirely written in Java.
JChess contains one module, jchess.engine
: it's a chess engine. It includes many backend features and provides a simple API.
Just take a look in the documentation.
jdk > 14 (or 14 with preview, for records
)
To build and install this program, you must first clone the repository. To do it, open a terminal in the folder you want and type:
git clone https://85ae/JChess.git
Then, you can go to the directory you cloned and use the Build
tool to create the build script
java Build.java [OPTIONS]
Where OPTIONS can be:
Option | Description |
---|---|
--help, -h | Prints an help message then exit. |
--prefix PREFIX | The directory (/usr by default on Linux / Unix / Macos, C:\Program files\JChess on Windows) where are placed the library files. DO NOT set the root on Windows (write \Program files\JChess and not C:\Program files\JChess for example). |
--os OS | Make the scripts for os OS (can be unix for a *nix or linux-based system, macos or windows ). |
--test | Enable testing (disabled by default). |
--debug | Enable debugging (disabled by default). |
--clean | Delete the build directories (build/build_* ) then exit. |
--build-dir DIR | Build in the directory DIR instead of ./build . |
--src-dir DIR | Search the sources in the directory DIR instead of ./src . |
The program will show more instructions about what you'll need to do after this.