I don’t know how much you care but the pathfinder relied on what I call “String instructions”. Basically everytime I move (by checking the 4 squares around it) I add a number from 0 to 4 depending on which way I used (up = 0, right = 1, down = 2, left = 3). This way you can get the shortest path to all the squares in a reasonably small area which could be good for a labyrinth solver I was planning to create at the time.
(I don’t know if any algorithms work the way I used)
I just felt like bragging while being happy I finally know how to use the ArrayLists, even though its like a toddler bragging to an adult about how he managed to get his pants on without any help.