how to make king switch places with rook


Just like normal chess. When the conditions are right, you move your king two spaces to the right or the left and the rook will automatically be moved to the right spot.
There can't be any pieces in between. Your king can't move through check. Your king or rook can't have moved previously.