intcode

package
v0.0.0-...-0695b8e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	REQUESTSIGNAL = math.MaxInt
	ENDSIGNAL     = math.MinInt
	STOPSIGNAL    = math.MinInt
)

Variables

This section is empty.

Functions

This section is empty.

Types

type IntcodeProgram

type IntcodeProgram struct {
	Program map[int]int
	// contains filtered or unexported fields
}

func NewIntcodeProgram

func NewIntcodeProgram(prog []int, ch chan int) *IntcodeProgram

func (*IntcodeProgram) Run

func (ic *IntcodeProgram) Run()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL