sudoku

package
v0.0.0-...-8fa69f2 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 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 Sudoku

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

func NewSudoku

func NewSudoku(board [9][9]int) *Sudoku

func (*Sudoku) PrintBoard

func (sudoku *Sudoku) PrintBoard()

func (*Sudoku) PrintSolutions

func (sudoku *Sudoku) PrintSolutions()

func (*Sudoku) Render

func (sudoku *Sudoku) Render(p *widgets.Paragraph, currentX int, currentY int, steps int)

func (*Sudoku) Solve

func (sudoku *Sudoku) Solve() bool

func (*Sudoku) VisualSolve

func (sudoku *Sudoku) VisualSolve(p *widgets.Paragraph, delay time.Duration, steps *int) bool

Jump to

Keyboard shortcuts

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