Good luck with the rest of the project! I suggest looking at Minmax tree search or Monte Carlo tree search for the AI if you're unsure!
Thanks! Yes, I use the Minmax tree. By the way, your Chess RPG is super fun. Good luck!