A Python/Qt application for the 4-Player Chess Teams variant to perform analysis. This project is a work in progress.
Latest Release: version 0.10.0
You can check for updates from the application menu (4PlayerChess > Check for Updates...). (In case of an SSL error, make sure certifi
is installed: pip3 install certifi
.)
- Rotatable board with move, turn and piece highlighting
- Drag & drop or click to move pieces
- Right-click to draw arrows (drag) and highlight squares
- Mouseover coordinates
- (Pseudo-)Legal move and castling availability check
- Legal move indicators
- Clickable move list with support for variations and annotations
- Load and save games and set positions with FEN4 and PGN4 (chess.com compatible)
- Editable player name and rating labels
- Save preferences
This program is cross-platform compatible (macOS, Linux, Windows). The following instructions will guide you to install the prerequisites and run the program.
Follow the instructions for your operating system. If you are not familiar with the command line interface:
- The
cd
command is used to change directory, e.g.cd path/to/directory
- Type
cd
orcd ~
to go to your home directory - Type
cd /
to go to the root directory - Type
cd ..
to go to the parent directory of the current directory - Type
cd -
to go to the previous directory you were in
- Type
- The
ls
(macOS & Linux) ordir
(Windows) command will list the contents of the current directory
Open Terminal to enter the commands at the following steps.
- Install package manager Homebrew to install Python3 (or install Python3 manually and skip to 3.):
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Install Python3:
brew install python3
- Install PyQt5:
pip3 install pyqt5
- Navigate to the
/4PlayerChess
directory and run the main file:cd path/to/directory python3 4pc.py
Open Command Prompt (open Windows menu and search "command") to enter the commands at the following steps.
- Launch Python3 installer to install Python3 manually and make sure to check the options to add Python3 to environment
variables or PATH and to include pip. Alternatively, install package manager Chocolatey:
And install Python3 with Chocolatey:
@"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"
choco install python
- Install PyQt5:
py -m pip install pyqt5
- Navigate to the
/4PlayerChess
directory and run the main file:cd path/to/directory py 4pc.py
Open a terminal to enter the commands at the following steps.
- Use package manager to install or update Python3, e.g. on Ubuntu:
sudo apt-get update sudo apt-get -y upgrade sudo apt-get install -y python3.6
- Install
pip
:sudo apt-get install -y python3-pip
- Install PyQt5:
pip3 install pyqt5
- Navigate to the
/4PlayerChess
directory and run the main file:cd path/to/directory python3 4pc.py
-
Multiple versions of Python may be (pre-)installed. If so, use
python3
andpip3
for Python3 (python
andpip
are for Python2). Check the version and update Python3 to the latest version, if needed.python3 --version
(macOS)python3 -V
(Linux)py -v
(Windows)
-
On Windows, if Python version < 3.6, use
python
instead ofpy
. To force latest version 3, usepy -3
, if needed.
If you would like to contribute to this project, feel free to create a pull request. Contact: GDII (or GammaDeltaII on Discord).
https://github.com/GammaDeltaII/4PlayerChess
This project is licensed under the GNU General Public License v3.0. See the COPYING file for details.