Castling can be done only when there won't be any items among the king plus the rook you'll move. The king and rook cannot have moved Beforehand. You can not castle In case your king is in check or if doing so would transfer your king as a result of or to some square the place he might be in Examine. Thanks! We're happy this was handy.Draw by resig