How many moves before the knight visits every square?
Warnsdorff's rule is a heuristic for finding a single knight's tour. The knight is moved so that it always proceeds to the square from which the knight will have the fewest onward moves.
yarn test
yarn deploy