Here we use recursion coupled with a heuristic (Warnsdorff's rule) to determine a possible path for a knight on the chessboard with the constraint that it can visit all 8 x 8 positions only once during its journey.
Set up the chessboard and the associated configuration: