Castling can be done only when there aren't any parts involving the king along with the rook you will shift. The king and rook simply cannot have moved previously. You can't castle if your king is in Examine or if doing this would shift your king by or to some square the place he would be in Test. Thanks! We're glad this was useful.The ending needs