A chess engine and game built with Unity. This project includes a simple AI opponent to play against.
- A fully functional chess game.
- A simple AI to play against.
- Move validation.
- Basic UI to play the game.
- Promotion of pieces.
The chess bot is implemented with a few different versions, showcasing an evolution of the AI logic. The bot uses a simple evaluation function and a minimax algorithm to decide the best move.
The different versions of the bot can be found in Assets/Scripts/Bot/.
- BotV00: Initial simple version.
- BotV01: Improved evaluation.
- BotV02: Further refined logic.
The current bot being used is ChessBot.cs.
To run this project, you will need to have Unity 2022.3.5f1 or later installed.
- Clone the repository:
git clone https://github.com/your-username/Chess-Engine.git
- Open the project in Unity Hub.
- Select the Unity Editor version
2022.3.5f1. - Open the
SampleScenefrom theAssets/Scenesfolder. - Press the "Play" button in the Unity Editor.
- Unity - The game engine used.
- C# - The programming language used.