It is a very interesting Plugin, but I was wondering if it is possible to have permission to edit it a little, some AI movements are... Well, in simple words too daring. In the three games I have played, I have beaten it all three times, and not even because it is a low level of difficulty, simply sometimes the AI moves the King almost randomly, The result ends up being pieces practically given away to the player, "Suicide Kings", wasted plays, and if by chance you manage to take all the pieces except the king, an error occurs: '"Color" if undefined' or something similar. In addition, some movements of certain pieces such as "en passant" and "castling" are not included in the Plugin.
I'm not complaining, I'm really sure this will be an amazing plugin for my game, but I would like the "blessing" to tinker with the code a little to make it less erratic.