Knight's tour: Difference between revisions

m
no edit summary
(→‎{{header|Elm}}: Updated to work with Elm 0.17.0)
mNo edit summary
Line 1:
{{task}}
[[File:chess_black_knight.jpg|400px200px||right]]
[[File:Knight's_tour_7x7.png|400px200px||right]]
 
[[wp:Knight%27s_tour|Problem]]: you have a standard 8x8 chessboard, empty but for a single knight on some square. Your task is to emit a series of legal knight moves that result in the knight visiting every square on the chessboard exactly once. Note that it is ''not'' a requirement that the tour be "closed"; that is, the knight need not end within a single move of its start position.
Anonymous user