day14

package
v0.0.0-...-9c9a4a3 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Direction

type Direction int
const (
	North Direction = iota
	South
	East
	West
)

type Map

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

func Parse

func Parse(s string) *Map

func (*Map) Cycle

func (m *Map) Cycle(n int)

func (*Map) Load

func (m *Map) Load() int

func (*Map) Print

func (m *Map) Print()

func (*Map) Tilt

func (m *Map) Tilt(tiltFunc func(int))

func (*Map) TiltNorth

func (m *Map) TiltNorth()

Jump to

Keyboard shortcuts

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