Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 647 Bytes

README.md

File metadata and controls

28 lines (22 loc) · 647 Bytes

Knight's Tour Problem

Explore the Backtracking-based solution for the Knight's Tour problem through visual representation, utilizing the SFML multimedia library.

Knight's Tour demo

How to run it

Make sure CMake and SFML are installed on your system.

Run the following command to execute the code:

  1. Build the code
mkdir build
cd build
make
  1. Run With testcase
./KnightTour < ../testcases/test1/input.txt

or manually type the start coordinates as input.

./KnightTour
2 4