Castling can be carried out only when there won't be any pieces involving the king plus the rook you may move. The king and rook simply cannot have moved Beforehand. You can't castle if your king is in Test or if doing this would move your king by or to your square where he would be in Test. Thanks! We are happy this was valuable.The board employs