summaryrefslogtreecommitdiff
path: root/2016/1a.rip
diff options
context:
space:
mode:
Diffstat (limited to '2016/1a.rip')
-rw-r--r--2016/1a.rip36
1 files changed, 36 insertions, 0 deletions
diff --git a/2016/1a.rip b/2016/1a.rip
new file mode 100644
index 0000000..c8a2575
--- /dev/null
+++ b/2016/1a.rip
@@ -0,0 +1,36 @@
+0 0 0I[position (x,y)]
+0 1 0I[direction (x,y)]
+
+gD9iGW[
+ 0
+ gD'/GW[
+ '0 s
+ S 9im S a
+ gD'/G]
+ ',EI[gP]
+
+ S
+
+ D 'R EI[ 4R 4R S 0Ss 4r 4r ]
+ D 'L EI[ 4R 4R 0Ss S 4r 4r ]
+ P
+
+ 3r
+ SD3RD3r
+ 5R
+
+ D 3r m 3r m S
+ 0I[stack: posx posy dirx diry incrx incry]
+
+ 5R a 4r
+ 0I[stack: posx newposy dirx diry incrx]
+
+ 5R a 4r
+ 0I[stack: newposx newposy dirx diry]
+
+gD9iG]
+P
+
+PP
+D0LI[0Ss] S D0LI[0Ss]
+aO 9io