Skip to content

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.

License

Notifications You must be signed in to change notification settings

Vedant-Asati03/TerminalChess

Repository files navigation

Terminal Chess

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.

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.

About

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.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages