Skip to main content

A chess game on your terminal

Project description

TermiChess

┌┬┐┌─┐┬─┐┌┬┐┬┌─┐┬ ┬┌─┐┌─┐┌─┐
 │ ├┤ ├┬┘│││││  ├─┤├┤ └─┐└─┐
 ┴ └─┘┴└─┴ ┴┴└─┘┴ ┴└─┘└─┘└─┘

TermiChess is a terminal-based chess game built using Python with the amazing Textual library. Play chess right in your terminal with a beautiful interface and Stockfish integration for chess engine.

Demo

https://github.com/user-attachments/assets/93f96435-3886-45a3-bae5-7acb3d2458e0

Features

  • Play chess right in your terminal
  • Stockfish integration for chess engine
  • Move validation and legal move highlighting

Installation

  1. Ensure you have Python 3.10 or higher installed.

  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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

termichess-0.1.1.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

termichess-0.1.1-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file termichess-0.1.1.tar.gz.

File metadata

  • Download URL: termichess-0.1.1.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.15

File hashes

Hashes for termichess-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e6f84d2a34f73bcb31bc14d7fad90a5c48f1f86b1f3fb16bb7adb4960bce3082
MD5 1eef7a6897577bbef3cdb5ab8b20fb40
BLAKE2b-256 bc642f04db2d9a709ffb8693de0cbcf039d72f99d05db70e728ff2e91a2c2e82

See more details on using hashes here.

File details

Details for the file termichess-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: termichess-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.15

File hashes

Hashes for termichess-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d221e2213ddfa4af24ea21ffb22a763103895cb1c9fe5c8a25098772e6ab9caf
MD5 5e53583623709034de782244a0d6f2ab
BLAKE2b-256 b56d1db03a41eeb7d944169f04496a0a081d4e6f48d1b1b8321e3b595f4e8037

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page