objects

package
v0.0.0-...-f9c1326 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Board

type Board struct {
	// contains filtered or unexported fields
}

func NewBoard

func NewBoard(numbers [81]uint8) (*Board, error)

func NewBoardFromFile

func NewBoardFromFile(fileName string) (*Board, error)

func (*Board) GetQuadrantNumbers

func (b *Board) GetQuadrantNumbers(x uint8, y uint8) [9]uint8

func (Board) GetSquareNumber

func (b Board) GetSquareNumber(x uint8, y uint8) uint8

func (Board) PrintBoard

func (b Board) PrintBoard()

func (*Board) SetSquareNumber

func (b *Board) SetSquareNumber(x uint8, y uint8, value uint8)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL