Small program that takes four user inputs, first the board size that will be used for the kngiht's tour, the second and third are the columns and row respectively from which the knigth will start the tour. The fourth input determines the animation speed. The knight will prioritize moving to a square that has the least legal moves available (Warnsdorff's rule). This speeds up the runtime considerably, currently the maximun board size is around 45 x 45 the runtime is still very fast (less than 0.5 seconds) but the program crashes due to using a lot of memory.
-
Notifications
You must be signed in to change notification settings - Fork 0
cesar-guillen/knights_tour
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published