Skip to content
Fun little knight's tour solver.
C++ Batchfile Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
.gitignore
LICENSE
README-1.png
README-2.png
README.md
autorun_tour.bat
compile-linux.sh
compile-mac.sh
compile-windows.bat
run_tour.bat

README.md

Knight's Tour

Over-optimized knight's tour solver.

Screenshots

Screenshot of Knight's Tour in progress

Screenshot of program final output

Requirements

  • g++ compiler (c++11 needed for chrono)

How to use

  1. Clone repo
  2. Create bin directory (mkdir bin)
  3. Run compile-[os].[sh|bat] to compile source code into executable
  4. Run executable ./bin/knights-tour.[bin|exe] [x] [y] [width] [height]
  5. Solution (if any) will be printed as Tour Solution <width>x<height>.txt
You can’t perform that action at this time.