module

Advent::Day23

Constants

DIRECTIONS = { {Point.new(-1, -1), Point.new(-1, 0), Point.new(-1, 1)}, {Point.new(1, -1), Point.new(1, 0), Point.new(1, 1)}, {Point.new(-1, -1), Point.new(0, -1), Point.new(1, -1)}, {Point.new(-1, 1), Point.new(0, 1), Point.new(1, 1)} }

Class methods

parse(data : String) : Set(Point)
Source
solve(elves : Set(Point))
Source