summaryrefslogtreecommitdiffstats
path: root/19/py/21-1.js
diff options
context:
space:
mode:
authorGustav Sörnäs <gusso230@student.liu.se>2019-12-21 18:12:32 +0100
committerGustav Sörnäs <gusso230@student.liu.se>2019-12-21 20:29:35 +0100
commit49280f2be70142633639618c8f8af0eb807fe429 (patch)
treec95426f9cc92dcc68a1627890c71f39dc152b9e0 /19/py/21-1.js
parent6648b90e324ef95c072a17daf4173b2334f08d57 (diff)
downloadaoc-49280f2be70142633639618c8f8af0eb807fe429.tar.gz
Separate solutions for day 21
Diffstat (limited to '19/py/21-1.js')
-rw-r--r--19/py/21-1.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/19/py/21-1.js b/19/py/21-1.js
new file mode 100644
index 0000000..050352c
--- /dev/null
+++ b/19/py/21-1.js
@@ -0,0 +1,10 @@
+// A or B or C:
+// There is a gap somewhere in the next 3 tiles so we need to jump
+or A T
+and B T
+and C T
+not T J
+// . and D
+// We don't die if we jump
+and D J
+walk