@@ -220,6 +220,35 @@ class CodeBox {
this.stack.Push(y % x);
break;
}
+ // Movement
+ case "^":
+ this.MoveUp();
+ break;
+ case ">":
+ this.MoveRight();
+ case "v":
+ this.MoveDown();
+ case "<":
+ this.MoveLeft();
+ // Mirrors
+ case "/":
+ this.ReflectForward();
+ case "\\":
+ this.ReflectBack();
+ case "_":
+ this.VerticalMirror();
+ case "|":
+ this.HorizontalMirror();
+ case "#":
+ this.OmniMirror();
// Output
case "n":
output = this.stack.Pop();