package
0.0.0-20240413135332-634b395dc6db
Repository: https://github.com/willmorrison/pegboard-blog.git
Documentation: pkg.go.dev

# Functions

AdvanceStone returns the next point in an ordered left to right, top to bottom traversal of the grid.
Checks that a proposed solution to the problem is valid.
IsInBounds returns whether a Point is contained within a given Grid.
No description provided by the author
Separation is the squared distance between 2 grid points.

# Constants

Grids larger than 14x14 are known to have no solutions.
The largest squared distance between points on a maximum sized grid.

# Structs

Grid represents an NxN square grid.
Point is the coordinate of a stone on a grid.

# Interfaces

PointIterator allows iteration over a collection of points.

# Type aliases

Placements represents a set of stones placed on the grid.