The algorithm was a right move based algorithm, meaning that if the space to the right was safe it would move there. However, this proved to have many issues so instead the algorithm utilized the logic of a right move based algorithm however it only allowed the robot to make the same move twice. So the robot would go right twice and the up. The progression of moves was right, up, left, down. The robot was capable of solving the puzzle but was built more for survival than anything. It was trained so that it would not fall into a pit or go into the Wumpus.

The robot has a list of lists that contained the grid and was initialized with ".". The robot would not move to a square unless it was marked "S", for safe, or "G", for gold. He took in the inputs and would update the grid accordingly until he located the gold. Once he located the gold he had a function called return home and he'd very slowly make his way home.