Castling the king with the rook made the opponent's queen take the rook. The game doesn't function after this move because the player can no longer move. In the attached image you can see that the queen is in an impossible position in the right bottom corner of the board.

Castling the king with the rook made the opponent's queen take the rook. The game doesn't function after this move because the player can no longer move. In the attached image you can see that the queen is in an impossible position in the right bottom corner of the board.