fsmosca / Python-Easy-Chess-GUI

A Chess GUI based from Python using PySimpleGUI and Python-Chess.
GNU Lesser General Public License v3.0
161 stars 52 forks source link
chess chess-engines chess-gui polyglot-book pysimplegui python-chess python3

Python Easy Chess GUI

A Chess GUI based from Python using PySimpleGUI and Python-Chess modules. Users can also load a chess engine and play with it. This program is based on a demo chess against ai from PySimpleGUI.

Command line to compile the source to exe using pyinstaller.

pyinstaller python_easy_chess_gui.py -F -w

Then add the folders for the exe to work.

A. Requirements

If you want to run from the python source the following are required or see the installation section below.

Or you can just download the executable file along with other files such as book and images.

B. Features

1. Save games to repertoire pgn files

2. Install uci engine of your choice

2.1 It is recommended to configure the engine setting after installation

Configure engine via Engine->Manage->Edit, select engine and press modify.

3. Need book assistance? Right-click on BOOK 2 and press show

4. Need what engine adviser will think about the position? Right-click on Adviser and press start

C. Installation

  1. If you want to run from the source code
  2. If you want to run from the exe
    • Download the exe file from the release link

Note

If you are on linux be sure to give permission to uci engine with:
chmod +x uci_engine_fn.

D. How to

To start the gui

To play as white

To play as black

To paste a FEN

To flip board

To set opponent engine book options

To Hide/Unhide engine search info

To Hide/Unhide Book info

To request Adviser search info

To select opponent engine

To set time control of engine

To set time control of user

To install engine

To Edit engine

To delete engine from config file

E. Credits