Local-Chess
Local-Chess is a local-first and open-source way to play chess in the terminal. It allows users to play against each other on the same machine or over a LAN connection and incorporates a home-made chess simulation with a beautiful TUI front-end (powered by textual).
Installation
pypi - (requires python 3.14+)
pipx install local-chess
Installs local-chess in a virtual environment to ensure that there are no dependency conflicts. Alternatively you could also try:
pip install local-chess
Both of these approaches install an entry point script such that local-chess can be run anywhere in the terminal by entering:
local-chess
From a checkout - (requires poetry)
git clone https://github.com/Leo-Milligan/Local-Chess.git
cd local-chess
poetry install
To run local-chess, enter the following command from within the local-chess directory:
poetry run local-chess
Features
- Local two-player mode
- Play with opponents on your local network
- Various time control modes
- Move-by-move game review with navigation controls
- Customisation options (board colour + piece style)
Controls
Chess inputs are made through entering moves into the input bar in algebraic notation. At times, the programme will try to help with any input errors. For example, giving you options to remove piece ambiguity or asking whether you meant to take a piece etc.
To offer a draw, enter d. To resign, enter r.
You can either use the mouse to select buttons or swap between them using TAB and SHIFT+TAB.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file local_chess-0.1.1.tar.gz.
File metadata
- Download URL: local_chess-0.1.1.tar.gz
- Upload date:
- Size: 35.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.4.1 CPython/3.14.6 Linux/7.1.5-101.fc43.x86_64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0531b9f2609a3994a472a839f09e2ac3bfb4432ecb66a32dda2f9b7235370cd6
|
|
| MD5 |
ade2639cfcee856d6727c59fbc3a6664
|
|
| BLAKE2b-256 |
816a2e3897ce86cb0cdee75f294dbf3ee06e7755e1d99f2815853265db788ac7
|
File details
Details for the file local_chess-0.1.1-py3-none-any.whl.
File metadata
- Download URL: local_chess-0.1.1-py3-none-any.whl
- Upload date:
- Size: 41.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.4.1 CPython/3.14.6 Linux/7.1.5-101.fc43.x86_64
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
58e0a4dfdba92f562c440798c73c409166b4d672d707acb94c76955b3f0228d5
|
|
| MD5 |
4de96703a59c80bbd87293a297b7c96f
|
|
| BLAKE2b-256 |
329dc3704f93c09e1a6aed91241bec07a9eb5fec82daf2bf077d46a3452cf9cc
|