class Aoc::Day17::CubeField

Defined in:

day/17.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(cubes : Hash(Tuple(Int32, Int32, Int32), Bool)) #

[View source]
def self.new(lines) #

[View source]

Instance Method Detail

def active?(coords) #

[View source]
def active_neighbors(coords) #

[View source]
def boundaries #

[View source]
def num_active #

[View source]
def set_active(coords, is_active) #

[View source]
def simulate #

[View source]