Which engine did u use? stockfish??
Currently I have not implemented any chess engine, I have written all the lines of code. However I am trying to adapt some of the Stockfish functions to the code I already have to improve the AI a bit.