Here are some basic concepts that will help us create a simple chess AI in .NET :
move-generation
board evaluation
minimax
alpha-beta pruning.
At each step, we will improve our AI algorithm with one of these time-tested chess-programming techniques. it will demonstrate how each affects the algorithm’s playing style.
You can view the final AI algorithm here on GitHub.
For the complete knowledge of the above-mentioned concepts, you can refer the following link:https://www.codeproject.com/Articles/36112/Chess-Program-in-C