Game Pathfinding Problem and A* Algorithm