Chesslab is an advanced analytical chess program with simple but powerful command line user interface.
-
You should have Python with tkinter module. There is a big chance you already have it. If not you need to usually install this package. E.g. in Ubuntu you can run
sudo apt-get install python3-tk -
Clone this repository by running the following in your terminal
git clone https://github.com/warpdynamicsltd/chesslab.git -
Some functionality requires large data files. To pull them to the repo, you need the following steps:
-
You need to have installed LFS extension for git (you will find information here: https://git-lfs.com/)
-
Once LFT extension in installed, in
chesslabroot folder execute:git lfs installThis will enable extension to use in this local repository
-
Next
git pullshould download large files.
-
-
Go into the root directory of this repository, i.e.
chesslabdirectory (e.g.cd chesslab) -
Install required dependencies by
pip -r requrements.txtIf you only want to runchesslabui script, minimal requirements are:pip install chess cairosvg zstandard pandas -
Install
chesslabby e.g.:pip install .If you want to install it for development, use:
pip install -e .Installation can take up to a few minutes because puzzles database is being created during installation.
-
Now, run Chesslab by executing
chesslabin your terminal. You should see something like this: -
You need to set chess engine path by executing
chess_engine <absolute path to chess engine binary>in Chesslab text console. -
You can use
helpcommand in console and then to read documentation. -
Applications available by commands:
- chesslab
- poslab
- tactics
- chessworld
