-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
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----
Metadata
Metadata
Assignees
Labels
No labels