You don't have to test this with the AI switched on. You can just move a Pawn (or other promoting piece) to the promotion rank, to see what choice you get offered. You don't even have to use legal moves, or move the opponent.
Thanks for the tip! I tried this, and apparently got the coding right.
Note you can tweek the square colors of the ID for an aestethically pleasing main diagram through parameters like light/darkShade, firstRank, rimColor, coordColor, useMarkers=1, etc.
Thanks for the tip! I tried this, and apparently got the coding right.
I know. That's next. :)