Skip to content

A Python-based chess engine capable of facilitating human-vs-AI gameplay. The AI functionality is implemented using minimax and alpha-beta pruning algorithms, offering challenging gameplay experiences for users at varying skill levels.

License

Notifications You must be signed in to change notification settings

theinit01/AI-ChessEngine

Repository files navigation

Chess Engine

Overview

This is a Python-based chess engine that allows users to play chess against the computer. The engine is capable of generating moves for the AI player using a combination of search algorithms, evaluation functions, and game-specific heuristics.

Features

  • Play chess against the computer AI.
  • Implement various chess strategies, including opening book, midgame tactics, and endgame knowledge.
  • Visualize the chess board and current game state using ASCII representation.
  • Implement different search algorithms for move generation, such as minimax with alpha-beta pruning.

Installation

  1. Clone the repository to your local machine: git clone https://github.com/theinit01/AI-ChessEngine.git
  2. Navigate to the project directory: cd AI-ChessEngine
  3. Install the required dependencies pip install -r requirements.txt
  4. Run the main script to start the game:

Screenshots

Animated GIF

Usage and Testing

  • Download the exe from the releases. Your antivirus would most probably flag it as suspicious, just ignore it :)
  • Use the mouse to select pieces/moves.
  • Enjoy playing chess against the computer!

Contributing

Contributions are welcome! If you have any ideas for improvements or new features, feel free to open an issue or submit a pull request.

License

This project is licensed under the Apache - see the LICENSE file for details.

About

A Python-based chess engine capable of facilitating human-vs-AI gameplay. The AI functionality is implemented using minimax and alpha-beta pruning algorithms, offering challenging gameplay experiences for users at varying skill levels.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages