aboutsummaryrefslogtreecommitdiffstats
path: root/src/21/part2
diff options
context:
space:
mode:
authorLouis Burda <quent.burda@gmail.com>2023-04-07 17:18:18 -0400
committerLouis Burda <quent.burda@gmail.com>2023-04-07 17:19:39 -0400
commit87ab487d59fa85dbe2afa55cc841b02805ae42ca (patch)
treecd90ab715e1b5b5803674045dbafd6d51d27ac90 /src/21/part2
parent1bcc82c5bfbde87edd03c01ffdf9ee5934681592 (diff)
downloadaoc2018-python-87ab487d59fa85dbe2afa55cc841b02805ae42ca.tar.gz
aoc2018-python-87ab487d59fa85dbe2afa55cc841b02805ae42ca.zip
Reorder days into src
Diffstat (limited to 'src/21/part2')
-rw-r--r--src/21/part227
1 files changed, 27 insertions, 0 deletions
diff --git a/src/21/part2 b/src/21/part2
new file mode 100644
index 0000000..192cbb3
--- /dev/null
+++ b/src/21/part2
@@ -0,0 +1,27 @@
+--- Part Two ---
+
+There are many areas the springdroid can't reach. You flip through the manual and discover a way to
+increase its sensor range.
+
+Instead of ending your springcode program with WALK, use RUN. Doing this will enable
+extended sensor mode, capable of sensing ground up to nine tiles away. This data is available in
+five new read-only registers:
+
+
+ - Register E indicates whether there is ground five tiles away.
+
+ - Register F indicates whether there is ground six tiles away.
+
+ - Register G indicates whether there is ground seven tiles away.
+
+ - Register H indicates whether there is ground eight tiles away.
+
+ - Register I indicates whether there is ground nine tiles away.
+
+
+All other functions remain the same.
+
+Successfully survey the rest of the hull by ending your program with RUN. What amount of hull
+damage does the springdroid now report?
+
+