Skip to content

Latest commit

 

History

History
54 lines (39 loc) · 1.93 KB

README.md

File metadata and controls

54 lines (39 loc) · 1.93 KB

ChessAI

Pygame Python

A Python chess game with an inbuilt AI that uses the Minimax algorithm with Alpha-Beta pruning and a heuristic evaluation. The game features different levels of AI difficulty, and allows for both single player and two player.

Technologies Used

  • Python: A popular programming language known for its simplicity, readability, and versatility. It is widely used for various applications, including game development.
  • Pygame: A set of Python modules designed for writing video games. It provides functionality for drawing graphics, handling user input, and managing game logic, making it a popular choice for creating 2D games.

Features

  • Play chess against the computer with an inbuilt AI.
  • AI uses the Minimax algorithm with Alpha-Beta pruning for optimal move selection.
  • Heuristic evaluation to improve AI's decision-making.
  • GUI interface using Pygame for a user-friendly chess playing experience.
  • Support for standard chess rules, including castling, en passant, pawn promotion, etc.

Visuals

image

Installation

  1. Clone the repository to your local machine:

    git clone https://github.com/RaghavVerma24/ChessAI
    
  2. Install dependecies:

    pip install
    
  3. Run the game:

    cd src
    python main.py
    

Contributing

If you would like to contribute to the project, feel free to submit a pull request. Please ensure that your changes are in line with the project's coding standards and practices.

License

This project is open-source and available under the MIT License.