Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/theinit01/ai-chessengine

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.
https://github.com/theinit01/ai-chessengine

ai chess-engine

Last synced: 12 days ago
JSON representation

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.

Awesome Lists containing this project

README

        

# 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](https://github.com/theinit01/AI-ChessEngine/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](LICENSE) file for details.