intcode

package
v0.0.0-...-dc3ba52 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Computer

type Computer struct {
	// contains filtered or unexported fields
}

func NewComputer

func NewComputer(input []int) *Computer

func (*Computer) Execute

func (pc *Computer) Execute(input chan int, output chan int)

func (*Computer) Reset

func (pc *Computer) Reset()

func (*Computer) SetValue

func (pc *Computer) SetValue(position int, value int)

func (*Computer) Value

func (pc *Computer) Value(position int) int

Jump to

Keyboard shortcuts

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