package
Version:
v0.0.0-...-1fe7fef
Opens a new window with list of versions in this module.
Published: Nov 11, 2020
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Cell struct {
Row, Column, Distance int
North, South, East, West *Cell
Links map[*Cell]bool
}
Cell represents a individual cell in the Maze
IsLinked checks if there's a linked between this cell and another cell
Link creates a passage from the current instance to another cell
Neighbors returns adjacent cells
Unlink removes a passage from the current instance to another cell
Source Files
¶
Click to show internal directories.
Click to hide internal directories.