Skip to content

csdodd/KnightsTour

Repository files navigation

Knights Tour

A knight's tour is a sequence of moves of a knight on a chessboard such that the knight visits every square only once.

This is an implementation of Warnsdorff's rule in Kotlin to find any open or closed knights tour for any size grid.

Example output:

Knights tour on a standard chess board

Knights tour on a standard chess board

Knights tour on a 120 x 120 chess board

Knights tour on a 120 x 120 chess board

An animated Knights Tour

Animated Knights Tour 16 x 16

About

Implementation of Knights Tour in Kotlin

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages