I have implemented a chess AI using a Mini-Max(With a partially working AB pruning) implementation. At the moment, it can search a depth of 5 and it is capable of playing a good middle-game. It pretty much searches for the path to the highest board value and returns that path of moves.

However, I have been having trouble with making it be able to find a and execute checkmate since the depth is not deep enough to corner the other players king piece(It just uses the queen or some other piece to chase it around). What can I do to add upon my AI to possibly increase my search depth or is there any other way to execute a checkmate?


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.