The Rook (or Castle) moves upon straight lines only, in a horizontal or
vertical direction, to any square not occupied by any piece or pawn of its
own colour. If the line on which it operates terminates in a piece or pawn
of the opposite colour, it can take such piece or pawn.