A simple 2D chess clone that has an AI (bot) that plays moves against the player. The bot is still a work in progress.
The cloned game follows typical chess rules on an 8x8 grid. You can play as white or black and can choose between Player vs Player, Player vs AI, or AI vs AI modes. The bot analyzes future moves to decide the best possible move.
The bot searches for moves up to a certain depth in the game tree. A deeper search allows for a more thorough evaluation of potential moves but also requires more computational resources.
To optimize the search process, the bot uses alpha-beta pruning. This technique reduces the number of nodes evaluated in the search tree by eliminating branches that are unlikely to affect the final decision.
The algorithm ensures that all generated moves adhere to standard chess rules, including legal piece movements, castling, en passant captures, and pawn promotions.
I am currently working on enhancing the bot's capabilities to create a more powerful AI. This involves training the bot using grandmaster-level PGNs (Portable Game Notation) to improve its decision-making process and overall gameplay strength.
This project is a fork of this repository. The main source of inspiration and learning for this project comes from this video.
Stay tuned for more updates as the bot continues to evolve!