day_04

package
v0.0.0-...-0235693 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeRoomName

func DecodeRoomName(room Room) (string, error)

func IsRealRoom

func IsRealRoom(r Room) bool

func Part1

func Part1()

func Part2

func Part2()

func Rotate

func Rotate(r rune, times int) (rune, error)

Types

type Room

type Room struct {
	NameEnc  string
	SectorID int
	Checksum string
}

func ParseRoom

func ParseRoom(s string) (Room, error)

func ParseRooms

func ParseRooms(in string) ([]Room, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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