Documentation ¶
Index ¶
- Constants
- func CheckBoxValidity(box int) error
- func CheckRowAndColumnValidity(row int, column int) error
- type Cell
- func (c *Cell) AddPencilMark(pencil_mark int) error
- func (c *Cell) AddPencilMarks(pencil_marks []int) error
- func (c *Cell) Equals(other *Cell) bool
- func (c *Cell) GetBoxId() int
- func (c *Cell) GetColumnId() int
- func (c *Cell) GetPencilMarks() []int
- func (c *Cell) GetRowId() int
- func (c *Cell) GetValue() int
- func (c *Cell) RemovePencilMark(pencil_mark int) error
- func (c *Cell) RemovePencilMarks(pencil_marks []int) error
- func (c *Cell) SetValue(value int) error
- type Grid
- func (g *Grid) Equals(other *Grid) bool
- func (g *Grid) GetAllCells() [81]*Cell
- func (g *Grid) GetCell(row int, column int) (*Cell, error)
- func (g *Grid) GetCellsInBox(box int) ([9]*Cell, error)
- func (g *Grid) GetCellsInColumn(column int) ([9]*Cell, error)
- func (g *Grid) GetCellsInRow(row int) ([9]*Cell, error)
- func (g *Grid) GetSets() [27]*Set
- func (g *Grid) LoadPrettyString(pretty_string string) error
- type Set
Constants ¶
View Source
const Empty int = -127
Variables ¶
This section is empty.
Functions ¶
func CheckBoxValidity ¶
Types ¶
type Cell ¶
type Cell struct {
// contains filtered or unexported fields
}
func (*Cell) AddPencilMark ¶
func (*Cell) AddPencilMarks ¶
func (*Cell) GetColumnId ¶
func (*Cell) GetPencilMarks ¶
func (*Cell) RemovePencilMark ¶
func (*Cell) RemovePencilMarks ¶
type Grid ¶
type Grid struct {
// contains filtered or unexported fields
}
func (*Grid) GetAllCells ¶
func (*Grid) LoadPrettyString ¶
Click to show internal directories.
Click to hide internal directories.