Knight's Tour

Guide the knight to visit every square on the chessboard exactly once.

Privacy First: All processing happens locally in your browser. No data is sent to any server.

5×510×10
Moves: 0 / 25

How to Play

Objective: Move the knight (♞) to visit every square on the board exactly once.

Manual Mode:

  • Click any square to place the knight and start
  • Yellow highlighted squares show legal moves
  • Click a highlighted square to move the knight
  • Numbers show the order of your moves
  • Use Undo to take back your last move

Auto-Solve:

  • Click a starting square first
  • Click Auto-Solve to watch the algorithm find a solution
  • Uses Warnsdorff's Heuristic (greedy approach)
  • Adjust animation speed with the slider
  • Note: Not all starting positions have a solution!