digitsensitive / astar-typescript

A* search algorithm in TypeScript
MIT License
87 stars 18 forks source link

It's manhattan, not manhatten #9

Closed spassvogel closed 3 years ago

spassvogel commented 4 years ago

See: https://en.wikipedia.org/wiki/Taxicab_geometry

digitsensitive commented 4 years ago

@spassvogel Thanks for spotting. Can you make a PR?

spassvogel commented 4 years ago

Sure... but it will break existing projects using astar-typescript .. so either you have to increase the major version or make it backwards compatible (by having both manhattan and manhatten)

digitsensitive commented 4 years ago

For now better have both for backwards compatible.

digitsensitive commented 3 years ago

@spassvogel PR merged.