You can use the code,
I am using a totally reworked code currently,
and also fixed some of the pathfinding problems.
I focus more on the Blizzard type of gameplay, as I restricted the mapsize
to 100x100 for good performance.