Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Knight's Tour

This project is a simulation of the Chess Knight's Tour problem in Python using the Pygame library.

The Knight's Tour is an ancient mathematical problem where, given an (n * n) grid and a knight placed on any initial square (x, y), the goal is for the knight to visit every square exactly once.

The program allows you to select the starting square for the knight’s tour. It then uses Warnsdorff's Rule to determine the next square to move to, applying this rule in a loop until the tour completes successfully.

Knight

About

This project is a simulation of the Knight's Tour problem in Python using the Pygame library.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages