Open jmullee opened 5 years ago
The logic is inverted. For the Maze / Following-the-walls exo, the solution below won't work unless ignoreDirectionDifference() is called patch: src/plm/universe/bugglequest/AbstractBuggle.java public abstract class AbstractBuggle - private boolean dontIgnoreDirectionDifference = true; + private boolean dontIgnoreDirectionDifference = false; -----8<---- public void run() { while(!isOverBaggle()) { if(isFacingWall()) right(); else { forward(); left(); } } pickupBaggle(); //ignoreDirectionDifference(); } ---->8----