Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connector ¶
type Connector string
const ( ConnVertical Connector = "|" // "|" connects north and south. ConnHorizontal Connector = "-" // "-" connects east and west. ConnL Connector = "L" // "L" is a 90-degree bend connects north and east. ConnJ Connector = "J" // "J" is a 90-degree bend connects north and west. Conn7 Connector = "7" // "7" is a 90-degree bend connects south and west. ConnF Connector = "F" // "F" is a 90-degree bend connects south and east. ConnStart Connector = "S" // "S" represents the start of the maze and can be any connector. )
type Maze ¶
type Maze struct {
// contains filtered or unexported fields
}
func (Maze) FarthestDistFromStart ¶
Click to show internal directories.
Click to hide internal directories.