Custom Dijkstra for the ingame Board