AoC2022::Day22
Inherits AoC2022::Solver < Reference < Object
Constants
FACING_VALUE = {'R' => 0, 'D' => 1, 'L' => 2, 'U' => 3}
NEXT_FACING = { {'U', 'R'} => 'R', {'R', 'R'} => 'D', {'D', 'R'} => 'L', {'L', 'R'} => 'U', {'U', 'L'} => 'L', {'R', 'L'} => 'U', {'D', 'L'} => 'R', {'L', 'L'} => 'D'}
Constructors
new(input : String)
SourceInstance methods
cube_warps
Sourceedge_warps
Sourcepart1
Sourcepart2
Source