The great switch
Chess piece exchange
Swap two chess pieces in the fewest moves. Move one piece at a time without capturing.
Solving strategy
Treat the two positions together as a single state. Try short detours that open a route for the other piece, and keep track of position pairs to avoid retracing moves.
Worked example
On an empty 4×4 board, swap a rook on a1 and queen on c1 in three moves. Play Qc1–b2, Ra1–c1, then Qb2–a1. At least one piece must move aside first because both target squares start occupied.
Rules
Swap the starting squares of the two pieces, using the fewest moves possible. Move either piece on each turn; the other stays still and blocks sliding movement. No captures or simultaneous moves. Both pieces must reach each other's original square.
This is a chess-movement logic puzzle, not a normal chess game. Dark blocked squares are walls. Pieces cannot land on or pass through walls, except that knights may jump over them. Pieces cannot capture each other. Check, checkmate and king safety do not apply.