Undergraduate student driven by curiosity, experimenting with ideas and building practical solutions that work.

Terminal Chess

Terminal Chess is a text-based chess game implemented in Python

Technologies:
python textual
Tags:
chess tui

Terminal Chess

Terminal Chess is a text-based chess game implemented in Python. It features a Text User Interface (TUI) using the Textual framework.

Features

  • Textual TUI: Modern TUI framework with mouse support.
  • Rich Display: Utilizes the Rich library for enhanced text formatting and table display.
  • Interactive Gameplay: Supports player interactions and move highlighting.
  • Move Validation: Ensures moves are valid according to chess rules.

Installation

To get started with Terminal Chess, follow these steps:

  1. Clone the repository:

    git clone https://github.com/Vedant-Asati03/TerminalChess.git
    cd TerminalChess
  2. Install the required packages:

    pip install -r requirements.txt

Usage

To run the chess game, execute the following command:

python terminalchess.py

Contributing

Contributions are welcome! Please follow these steps to contribute:

  • Fork the repository.
  • Create a new branch (git checkout -b feature-branch).
  • Commit your changes (git commit -m ‘Add some feature’).
  • Push to the branch (git push origin feature-branch).
  • Open a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements

Textual for the TUI framework.

Rich for the text formatting and table display.

Contact

For any inquiries, create a issue GitHub Issues

Thank you for using Terminal Chess! Enjoy the game.