package
0.0.0-20191230163237-a30599c1cba0
Repository: https://github.com/mjm/advent-of-code-2019.git
Documentation: pkg.go.dev

# Functions

Fill spreads the tile destination to adjacent spaces until the entire canvas is filled.
NewCanvas creates an empty canvas.
NewMapper creates a new mapper using a given canvas to draw the map.
NewPathFinder creates a new path finder with a given map and goal.

# Constants

Constants for directions that can be given to the robot.
FoundDestination signals that the droid moved in the requested direction and found the destination.
HitWall signals that the droid hit a wall and was not able to move.
Moved signals that the droid moved in the requested direction but did not find the destination.
Constants for directions that can be given to the robot.
Constants for directions that can be given to the robot.
Constants for directions that can be given to the robot.
TileDestination is the tile with the goal.
TilePassable is a tile that the droid can enter.
TileStart is the location where the droid started.
TileUnknown is a tile that hasn't been discovered.
TileWall is a tile that is an impassable wall.
Constants for directions that can be given to the robot.

# Structs

Canvas is an infinitely paintable 2D surface.
Mapper is responsible for constructing a map of a location by controlling a robot with an Intcode program.
PathFinder finds paths between a start and goal point on a map.

# Type aliases

Direction is a cardinal direction that the robot can be instructed to move in.
Status is a status code that can be returned from the Intcode program.
Tile is a type of tile drawn on a map.