The Knight's Tour: History, Rules & Strategy
The Knight's Tour problem dates back over a thousand years, with solutions found in Arabic manuscripts from the 9th century. Leonhard Euler published a famous analysis in 1759. The problem asks whether a chess knight can visit every square on the board exactly once — a question that connects chess, graph theory, and Hamiltonian path problems in combinatorics.
How to Play
Click any square to place your knight. Then move in the standard chess L-shape: two squares in one direction plus one square perpendicular. Visit all 64 squares without revisiting any square.
Strategy Tips
Use Warnsdorff's rule: at every step, move to the square that has the fewest onward moves available. This heuristic finds a tour from almost any starting square. Corners are the most dangerous — they have only two access squares — so handle them early or schedule them carefully.
Variations
A closed tour returns the knight to its starting square (forming a Hamiltonian cycle); an open tour does not. Closed tours exist on the 8×8 board but not on every board size. Magic knight's tours number the squares 1–64 in visit order such that rows and columns sum to a magic constant.
Is this game school-safe?
Yes. No signups, no chat, no tracking. Loads instantly in any browser and is a great example of graph theory and Hamiltonian paths for classroom use.