Navigating a maze
There are many techniques for escaping from mazes.
One of the most popular algorithms, used to find the wayout of the maze is “Wall Follower”. The algorithm has two variants “Left Wall Follower” (“LWF”) and “RightWall Follower” (“RWF”). The main idea of this algorithm is to continuously follow the left or right wall inside the maze until the way out is found.