Original Post
I''m back again for help on this maze naviagation problem. You CAN''T have a robot that follows the walls, because the maze will be designed in such a way that you cannot get to the end using this method. I need some algorithm to get through a maze, hopefully using a method of remembering where the robot has been, and making sure that it doesn''t go back to dead end areas. I was thinking about using an array at first, but decided that wouldn''t be a good idea because I''d have to be sorting and re-assigning old values with new data (example, if the robot started in the middle of one wall, it would start at (0,0) and some values would go negative which would mean that I''d have to be always re-assinging and moving values around in the array). Now I''m thinking about using a tree to hold the data, but I''m not sure if it''ll work. The purpose is to get through the maze the fastest. If anyone knows a good way of doing this, or has any ideas, let me know.