day17

package
v0.0.0-...-5d524ee Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Day17 = runner.NewDay(17, parseFunc, part1, part2).
		WithExpectedAnswers(907, 1057)
)

Functions

This section is empty.

Types

type SearchState

type SearchState struct {
	Dir  vec2.Vec2
	Dist int
	// contains filtered or unexported fields
}

func (SearchState) Pos

func (s SearchState) Pos() maps.Pos

type Tile

type Tile uint8
const (
	Loss1 Tile = iota
	Loss2
	Loss3
	Loss4
	Loss5
	Loss6
	Loss7
	Loss8
	Loss9

	Path       = 16
	PathOption = 32
)

func (Tile) Colour

func (t Tile) Colour() color.Color

func (Tile) Cost

func (t Tile) Cost() int

func (Tile) Rune

func (t Tile) Rune() rune

func (Tile) Valid

func (t Tile) Valid() bool

Jump to

Keyboard shortcuts

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