i have created a maze game in a GUI. It is a 3 by 3 grid where the user has to get from the start to the finish by moving up, left, down and right. Anyway i am now trying to create a algorithm to work out how far the current players has to he/she reaches the finish, this information will be stored on a panel in the GUI. Can anybody code this for me as im really stuck