well it seems my script works along as you don't have any dead ends in the path, but it seem to frequently seems to pick the longest path which is not good. I am going to have to tweak the algorithm to guess better which path is best. I will also I to be a bit more elaborate with which edges have been checked already because as of now the ai will always check down edge one and if a path exist down edge one then that is the one it will take even if the path is bad. So, what I think I will do is search the edges and use bitwise operations to pull which edges have been visited yet.


Optimism is an occupational hazard of programming: feedback is the treament.
Kent Beck