knights-travails

2.0.0 • Public • Published

Knight Travails

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.

Readme

Keywords

none

Package Sidebar

Install

npm i knights-travails

Weekly Downloads

3

Version

2.0.0

License

ISC

Unpacked Size

7.12 kB

Total Files

9

Last publish

Collaborators

  • freeloader