tien02 / knight-tour-alg

C++ Knight Tour Algorithm implementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

C++ Knight Tour Algorithm implementation


Languages

Language:C++ 95.9%Language:CMake 4.1%