Learn the Knight’s Tour

0 of 25 squares visited

Start on a1 or another highlighted square.

Use the arrow keys to move between squares, Home and End for the ends of a rank, and Enter or Space to select the focused square.

How the knight moves

Visit every square exactly once. A knight moves two squares in one direction and one at a right angle, making an L.

On this 5×5 board, the arrow suggests a move. You can choose any highlighted square or undo a move and try a different path.