BrokenChess is a chess game implemented in Python using the Pygame library. It allows users to play chess with a graphical interface.
BrokenChess is a Python-based chess game designed for learning and entertainment purposes. It offers a graphical user interface (GUI) to play chess against an AI opponent and includes basic chess rules and movements.
- Graphical chessboard with intuitive piece movements.
- Player versus AI mode.
- Basic AI opponent for single-player experience.
- Highlight valid moves for selected pieces.
- Simple and clean user interface.
To run BrokenChess on your local machine, follow these steps:
-
Clone the repository:
git clone https://github.com/AdRohal/BrokenChess.git
-
Navigate to the project directory:
cd BrokenChess
-
Install the necessary dependencies using pip:
pip install pygame
-
Run the game:\
python main.py
After starting the game, you will see a start screen with a "Start" button. Click on the button to begin playing BrokenChess. You can move pieces by clicking on them and then clicking on the destination square. The game will alternate turns between the player (white) and the AI opponent (black).
Contributions to BrokenChess are welcome! Here's how you can contribute:
- Fork the repository.
- Create a new branch (git checkout -b feature)
- Make your changes.
- Commit your changes (git commit -am 'Add new feature')
- Push to the branch (git push origin feature)
- Open a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
---
This README.md file summarizes the BrokenChess project, its features, installation instructions, usage guidelines, contribution guidelines, and licensing information. You can copy and paste this template into your project's README.md file and customize it further as needed. Adjust the URLs and specific details according to your project's structure and requirements.