A Chess AI project built with Python, using algorithms and techniques to enable the AI to play chess at an advanced level.
This project implements a Chess AI capable of playing against human players. It uses a combination of search algorithms and heuristics to make decisions, aiming to play optimal moves based on the current state of the board.
- Supports all standard chess moves and rules, including castling, en passant, and pawn promotion.
- AI uses Minimax algorithm with Alpha-Beta Pruning for efficient move searching.
- Implements a basic evaluation function to assess board positions and make strategic moves.
To set up the Chess AI on your local machine, follow these steps:
-
Clone the repository:
git clone https://github.com/proutkarsh3104/Chess-AI-Utkarsh.git cd Chess-AI-Utkarsh
-
Install the required dependencies:
pip install -r requirements.txt
-
Run the game:
python main.py
- Run
main.py
to start the game. - Use the on-screen instructions to make moves and play against the AI.
This Chess AI is built using the Minimax algorithm with Alpha-Beta Pruning, optimizing its decision-making process by evaluating potential moves up to a specific depth. The AI calculates moves based on a scoring system that assigns values to pieces and board control.
- Improve evaluation function for better strategic play.
- Implement a GUI for easier interaction.
- Add difficulty levels by adjusting the search depth.
Contributions are welcome! Please fork this repository, make your changes, and open a pull request.
- Fork the project
- Create a feature branch (
git checkout -b feature/NewFeature
) - Commit your changes (
git commit -m 'Add new feature'
) - Push to the branch (
git push origin feature/NewFeature
) - Open a pull request
This project is licensed under the MIT License.