A Knight’s Tour

Choose a starting square

Show path line
Warnsdorff Helper

Name your tour

Warnsdorff's Heuristic

Warnsdorff's Heuristic states that the best move amongst available move options is the the one with the lowest possible options for the next move.

This helper shows how many moves are available to each of your move options. Choosing the lowest value helps you to avoid getting stuck.

How to Play

Move a knight around the board the same way it moves in chess — two squares in one direction, then one square perpendicular.

The goal is to visit every square exactly once. Click a highlighted square to move there. If you get stuck before covering the whole board, Undo or Restart and try a different path.