class

AoC2022::Day24

Inherits AoC2022::Solver < Reference < Object

Constants

BLIZZARD_CHARS = {'^' => NORTH, 'v' => SOUTH, '<' => WEST, '>' => EAST}
BLIZZARD_OFFSETS = {NORTH => {0, -1}, SOUTH => {0, 1}, WEST => {-1, 0}, EAST => {1, 0}}
EAST = 3
NORTH = 0
SOUTH = 1
WEST = 2

Constructors

new(input : String)
Source

Instance methods

part1
Source
part2
Source

Nested types