1.0.1 • Published 4 years ago
@swashvirus/longjohn v1.0.1
#longJohn
- An implemention of longJohn pathfinding algorithm in JavaScript
usage:
import longJohn from "@swashvirus/longjohn"
const map = [[...]] // multidimensional array
const start = [..., ...]
const end = [..., ...]
const path = longJohn(map, start, end)