The Joker has to imitate the last piece moved by the opponent so if white has moved a queen then it's black's turn and the black joker has queen powers for the purpose of checking. So in KJK the joker should unambiguously move as a king. I'm not sure why the rest isn't just an implementation problem.
Thanks a lot guys for taking the time to do this for me, as I am the main beneficiary of this code!
The Joker has to imitate the last piece moved by the opponent so if white has moved a queen then it's black's turn and the black joker has queen powers for the purpose of checking. So in KJK the joker should unambiguously move as a king. I'm not sure why the rest isn't just an implementation problem.
Thanks a lot guys for taking the time to do this for me, as I am the main beneficiary of this code!