day_14

package
v0.0.0-...-07010e4 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Part1

func Part1()

func Part2

func Part2()

Types

type Cave

type Cave struct {
	Paths []Path
	Occ   map[grid.Point]Material

	Floor int
	// contains filtered or unexported fields
}

func (*Cave) Free

func (c *Cave) Free(p grid.Point) bool

type Material

type Material string
const (
	Rock Material = "#"
	Sand Material = "o"
)

type Path

type Path []grid.Point

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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