Castling can be done only when there are no pieces concerning the king and also the rook you will go. The king and rook can not have moved Earlier. You can't castle If the king is in Test or if doing so would transfer your king by way of or to some sq. the place he could be in check. Many thanks! We are glad this was practical.White to move first a