Posted September 02, 2023 by Sloba at ItMrav
#update #technical
Updated path finding algorithm to use A* with heuristic.
Now units find best rout around the obstacles.
If you want to see the technical details you can visit: https://dev.to/slobodan4nista/a-search-with-custom-heuristics-and-neighbor-funct...
By the way I made a big bug that I did not realized for moths, it literally prevented blue player from moving pieces using move icon :/ It was a big miss, I used drag feature excessively so I missed that one.