I was able to make a Knightmate preset, although I did have one other issue. I set the king's move to K and the knight's move to NisO2 but castling still did not work. The issue was that the set partners line was not generated. So there may be a but where the partners variable isn't set if the castling piece isn't the king.
Thanks! I'll read through the tutorial again.
I was able to make a Knightmate preset, although I did have one other issue. I set the king's move to K and the knight's move to NisO2 but castling still did not work. The issue was that the set partners line was not generated. So there may be a but where the partners variable isn't set if the castling piece isn't the king.