Day21
Constants
CONTROL_BUTTON_POSITIONS = {'x' => {0_i128, 0_i128}, '^' => {1_i128, 0_i128}, 'A' => {2_i128, 0_i128}, '<' => {0_i128, 1_i128}, 'v' => {1_i128, 1_i128}, '>' => {2_i128, 1_i128}} of Char => Point
DOOR_BUTTON_POSITIONS = {'7' => {0_i128, 0_i128}, '8' => {1_i128, 0_i128}, '9' => {2_i128, 0_i128}, '4' => {0_i128, 1_i128}, '5' => {1_i128, 1_i128}, '6' => {2_i128, 1_i128}, '1' => {0_i128, 2_i128}, '2' => {1_i128, 2_i128}, '3' => {2_i128, 2_i128}, 'x' => {0_i128, 3_i128}, '0' => {1_i128, 3_i128}, 'A' => {2_i128, 3_i128}} of Char => Point
Constructors
new
SourceInstance methods
part1(input)
Sourcepart2(input)
Sourcesequence
Sourcesequence=(sequence)
Source