The test for castling should check that: 1. The king is not under threat 2. The rook is not under threat 3. No intervening square that the king will cross is under threat. Flagged in #199 and likely let a dumb bug through in the chess logic.
The test for castling should check that:
Flagged in #199 and likely let a dumb bug through in the chess logic.