How does the Rook move and capture?

The rook can move any number of squares in straight line, horizontally or vertically, but the rook may not jump a piece of either color.

In the diagram, the rook can move to any square marked with an "X" As you can see, the rook captures as it moves. The rook can capture the enemy bishop or the knight, but it may not jump over these pieces.