Skip to content

Knight's Tour problem C++ language with SFML Library

Notifications You must be signed in to change notification settings

hosein-srj/Knights-Tour

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Knights-Tour

A knight's tour is a sequence of moves of a knight on a chessboard such that the knight visits every square exactly once. If the knight ends on a square that is one knight's move from the beginning square (so that it could tour the board again immediately, following the same path), the tour is closed; otherwise, it is open.

image

The algorithm used in this code is to select the element that has the least option for the next step in each step.

ezgif com-gif-maker (6)

About

Knight's Tour problem C++ language with SFML Library

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages