Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Day18 = runner.NewDay(18, parseInstructions, part1, part2)
Functions ¶
This section is empty.
Types ¶
type Instruction ¶
type Instruction struct { Direction maps.Pos Length int SwappedDirection maps.Pos SwappedLength int }
Instruction is a single instruction for the dig plan
func (Instruction) Swap ¶
func (i Instruction) Swap() Instruction
Click to show internal directories.
Click to hide internal directories.