On the Subject of ASCII Mazes
(╯°□°)╯︵ ┻━┻
The screen at the bottom of the module displays three (extended) ASCII characters of a twelve character long sequence, separated by replacement characters (�).
Use the arrows to the left and right of the screen to cycle between displays.
Convert the sequence of ASCII characters into a sequence of 96 binary digits:
- The first six bits, when converted into octal, are used to determine the starting location.
- The last six bits, when converted into octal, are used to determine the location of the exit.
- The remaining 84 bits correspond to the presence of a wall within the 7×7 maze (not including edges):
- Separate the 84 bits into two equal groups:
- The first 42 bits correspond to the vertical walls.
- The second group of 42 bits correspond to the horizontal walls.
The colours of the four LEDs are used in conjunction with the sequence of bits.
The presence of the red, green, and blue colour channels indicate how each bit is used:
Top Left LED
- If the blue channel is present, the first and second octal digits are swapped.
- If the red channel is present, the first octal digit is one greater than the number of spaces between the right edge and the starting location.
Otherwise the first octal digit is the number of spaces between the left edge and the starting location. - If the green channel is present, the second octal digit is one greater than the number of spaces between the bottom edge and the starting location.
Otherwise the second octal digit is the number of spaces between the top edge and the starting location.
The same rules apply to the bottom right LED to indicate the position of the exit.