Knight travails is a library that computes how many moves a knight would take from one arbitrary square to another at a minimum on the chessboard. It constructs an unweighted graph of all the chess squares connected by knight movements and find the shortest path with modified dijkstra alogrithm.
knights-travails
2.0.0 • Public • PublishedReadme
Keywords
nonePackage Sidebar
Install
npm i knights-travails
Weekly Downloads
0
Version
2.0.0
License
ISC
Unpacked Size
7.12 kB
Total Files
9