Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SnakeStrategy ¶
type SnakeStrategy struct {
// contains filtered or unexported fields
}
Implements matrix.Strategy interface
func (SnakeStrategy) ConnectSquares ¶
func (s SnakeStrategy) ConnectSquares(m matrix.Matrix) [][]*point.Point
Order squares inside a matrix
func (SnakeStrategy) OrderPoints ¶
func (s SnakeStrategy) OrderPoints(sq square.Square)
Order points inside a square
Click to show internal directories.
Click to hide internal directories.