Click on a unit to select, click on an empty space to move.
This is my failed attempt at pathfinding- I tried to use the A* technique and it didn't work out for me :P If you're going to make your own version of pathfinding, don't base it off of this. It's too complex and slow, and it's very badly coded. I just put this out here to maybe "inspire" some of the other guys. Plenty of variables and lists for debugging! :D So yeah- it doesn't really work. But I tried.