Pathfinding in a top-down tile-based game demonstration