A* Demo https://mobilereality.github.io/astar Helpful articles: https://www.raywenderlich.com/3016-introduction-to-a-pathfinding#toc-anchor-007 http://theory.stanford.edu/~amitp/GameProgramming/ https://en.wikipedia.org/wiki/A*_search_algorithm