Terminal Chess is a text-based chess game implemented in Python. It features a Text User Interface (TUI) using the Textual framework, allowing for mouse interactions and a visually appealing chessboard display.
- 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.
To get started with Terminal Chess, follow these steps:
-
Clone the repository:
git clone https://github.com/Vedant-Asati03/TerminalChess.git cd TerminalChess
-
Install the required packages:
pip install -r requirements.txt
To run the chess game, execute the following command:
python terminalchess.py
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.
This project is licensed under the MIT License. See the LICENSE file for details.
Textual for the TUI framework.
Rich for the text formatting and table display.
For any inquiries, create a issue GitHub Issues
Thank you for using Terminal Chess! Enjoy the game.