Skip to content

A canvas based algorithmic representation of knight tours on a spiral board

License

Notifications You must be signed in to change notification settings

osick/the-trapped-knight.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

The Trapped Knight Problem Solver (Javascript Version)

This is a Javascript equivalent to repository the trapped knight. For more background look at the README of thos repo

Usage:

  1. Download this repo and unzip it
  2. change directory to src and launch index.html
  3. Use the slider to set the shape values of the knight and click draw to see the camvas filled with the path of the knight

Feel free to play with the source

Licence

GPL v3.0

References

  • The problem will be explained in detail at Numberphile
  • On OEIS the length is computed for a large quantity of x,y-knights (aka x,y-leapers)

About

A canvas based algorithmic representation of knight tours on a spiral board

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published