Javascript Algorithm For Taking The Shortest Path Between Two Xy Coordinates Game

Javascript Algorithm For Taking The Shortest Path Between Two Xy Coordinates Game