You have a square 5 x 5 board with four rooks in the corners:
Note: for reference, assume the rooks are labeled A, B, C, D as follows:
You can move the rooks horizontally or vertically. The only problem is that when you move a rook, it will keep going in the same direction until it hits another rook or the edge of the board.
You want to move a rook into the darkened square on the board.
How can this be done in no more than 10 moves?
A moves right.
D moves left.
C moves up, then right.
A moves down, then left, then up.
B moves down, then left, then up.