package
Version:
v0.0.0-...-06eecd2
Opens a new window with list of versions in this module.
Published: May 2, 2023
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Grid struct {
CornersBroken bool
}
Grid represents a grid of lights
New returns a new grid based on the provided file path.
Animate runs the program for the provided number of steps.
func (g *Grid) LightsOn() (ret int)
LightsOn returns the number of lights that are on.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.