Original Post
I am trying to make an AI about a maze.I am trying to find enemies.But i need algorithms because i have several problems. My problems: -if a road does not have any exit,i do not want to enter there again. -For example the target is in the right but there is a wall in the right and the true way is in the left.My functions always crash the wall go back and try again to go to right:):):) how can i fix it?