This is just fun project to get my hands to work with TypeScript.
Demo is here: https://megaboich.github.io/a-star-typescript/
Interesting reading:
- http://www.redblobgames.com/pathfinding/a-star/introduction.html
- http://www.redblobgames.com/grids/hexagons
- http://www.briangrinstead.com/blog/astar-search-algorithm-in-javascript-updated
Graphics was borrowed from "Battle for Wesnoth" project. https://github.com/wesnoth/wesnoth/tree/master/data/core/images