aboutsummaryrefslogtreecommitdiffstats
path: root/src/13/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/13/part2
parent1bcc82c5bfbde87edd03c01ffdf9ee5934681592 (diff)
downloadaoc2018-python-87ab487d59fa85dbe2afa55cc841b02805ae42ca.tar.gz
aoc2018-python-87ab487d59fa85dbe2afa55cc841b02805ae42ca.zip
Reorder days into src
Diffstat (limited to 'src/13/part2')
-rw-r--r--src/13/part226
1 files changed, 26 insertions, 0 deletions
diff --git a/src/13/part2 b/src/13/part2
new file mode 100644
index 0000000..e7ccee4
--- /dev/null
+++ b/src/13/part2
@@ -0,0 +1,26 @@
+--- Part Two ---
+
+The game didn't run because you didn't put in any quarters. Unfortunately, you did not bring any
+quarters. Memory address 0 represents the number of quarters that have been inserted; set it to 2 to
+play for free.
+
+The arcade cabinet has a joystick that can move left and right. The software reads the position of
+the joystick with input instructions:
+
+
+ - If the joystick is in the neutral position, provide 0.
+
+ - If the joystick is tilted to the left, provide -1.
+
+ - If the joystick is tilted to the right, provide 1.
+
+
+The arcade cabinet also has a segment display capable of showing a single number that represents the
+player's current score. When three output instructions specify X=-1, Y=0, the third output
+instruction is not a tile; the value instead specifies the new score to show in the segment display.
+ For example, a sequence of output values like -1,0,12345 would show 12345 as the player's current
+score.
+
+Beat the game by breaking all the blocks. What is your score after the last block is broken?
+
+