diff options
| author | Louis Burda <quent.burda@gmail.com> | 2023-04-07 17:18:18 -0400 |
|---|---|---|
| committer | Louis Burda <quent.burda@gmail.com> | 2023-04-07 17:19:39 -0400 |
| commit | 87ab487d59fa85dbe2afa55cc841b02805ae42ca (patch) | |
| tree | cd90ab715e1b5b5803674045dbafd6d51d27ac90 /src/13/part2 | |
| parent | 1bcc82c5bfbde87edd03c01ffdf9ee5934681592 (diff) | |
| download | aoc2018-python-87ab487d59fa85dbe2afa55cc841b02805ae42ca.tar.gz aoc2018-python-87ab487d59fa85dbe2afa55cc841b02805ae42ca.zip | |
Reorder days into src
Diffstat (limited to 'src/13/part2')
| -rw-r--r-- | src/13/part2 | 26 |
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 [1m[97mneutral position[0m, provide 0. + + - If the joystick is [1m[97mtilted to the left[0m, provide -1. + + - If the joystick is [1m[97mtilted to the right[0m, 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. [1m[97mWhat is your score after the last block is broken?[0m + + |
