Skip to main content

Termichess

A game of chess in your terminal. Built using the amazing TUI framework Textual.

Demo

https://github.com/user-attachments/assets/305f1e5b-9c76-474f-b30e-5bee12ac3be8

Features

  • ♟️ Play chess right in your terminal
  • 🧠 Stockfish integration for chess engine
  • ✅ Move validation and legal move highlighting
  • 🎨 Change board themes
  • 🤓 Variety of geeky board pieces
  • ⚙️ Configuration menu for different options to change on the fly

Installation

  1. Please use Python 3.10 within your favourite venv. I have only tested currently only on python 3.10

  2. Install Stockfish:

    • On Ubuntu or Debian: sudo apt-get install stockfish
    • On macOS with Homebrew: brew install stockfish
    • On Windows, download from Stockfish's official website and add it to your system PATH.
  3. Install TermiChess:

pip install termichess

Running the Game

After installation, you can start the game by simply running:

termichess

  • To exit out at any time , Press q .
  • To restart the game click on the Restart button

Running via Docker

You can also run termichess via Docker if that's what you prefer.

docker run -it ghcr.io/whiletruelearn/termichess:latest termichess

Note : Please keep sound config to off while using docker

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the Apache License - see the LICENSE file for details.

Acknowledgments

Release files for termichess 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for termichess 0.1.4
File Size Uploaded
termichess-0.1.4.tar.gz 68.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for termichess 0.1.4
File Interpreter ABI Platform
termichess-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 141.6 kB

Release files / termichess-0.1.4.tar.gz

Download URL termichess-0.1.4.tar.gz
Size 68.5 kB
Tags Source
SHA-256 checksum
How to use checksums
7bd11c9bd6d13334713097f865beeb086b0108496392d9062269bcf66f996d5b
BLAKE2b-256 checksum
How to use checksums
342a6200361fce3f3d8fedfc5f98c506397c473498f54feaf6c69904e45ae80e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.15

Release files / termichess-0.1.4-py3-none-any.whl

Download URL termichess-0.1.4-py3-none-any.whl
Size 73.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bc10b205426e0f92bfdade2e4166bcf48fe2283a7cd999a70138cde27fbb15fb
BLAKE2b-256 checksum
How to use checksums
f351da9c912d0312acc86ec86f14fc6d2f5106b21a1a377ce903f9eb415a7a3a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.10.15

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page