Skip to content

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

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages