This is a simple experiment made with Python that uses Pygame to see the number of moves it takes a knight to get around a chessboard.
Since this is just an experiment the best way to try it is to clone this repository and inside the repository's root folder run:
python knight.py
# or
python3 knight.py
Click on the desired position to move the knight around the chessboard. If you want a random position, press r
or spacebar
.