class AdventOfCode::Intcode

Defined in:

crystal/2.1.cr
crystal/5.1.cr
crystal/5.2.cr
crystal/7.2.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(string : String) #

[View source]
def self.new(state : Array(Int32)) #

[View source]

Instance Method Detail

def finished? : Bool #

[View source]
def input : Array(Int32) #

[View source]
def input=(input : Array(Int32)) #

[View source]
def instruction_pointer : Int32 #

[View source]
def instruction_pointer=(instruction_pointer : Int32) #

[View source]
def next_output(input) #

[View source]
def output : Array(Int32) #

[View source]
def output=(output : Array(Int32)) #

[View source]
def run #

[View source]
def run(*input) #

[View source]
def state : Array(Int32) #

[View source]
def state=(state : Array(Int32)) #

[View source]
def step #

ameba:disable Metrics/CyclomaticComplexity


[View source]