picross

package module
v0.0.0-...-d10e62e Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

README

picross-go

This is an ongoing reimplementation of picross-erl in Go.

  • Go channels support the communication between the actors
  • Execution performance has been favoured rather than strict adherence to the actor model
  • Yes, I enjoy nonograms puzzles :-)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CellState

type CellState uint
const (
	Any CellState = iota
	Gap
	Fill
)

func (CellState) String

func (c CellState) String() string

type PicrAxis

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

func NewPicrAxis

func NewPicrAxis(depth uint, clues [][]uint, notifCh chan PicrAxisNotification) (*PicrAxis, error)

type PicrAxisNotification

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

type PicrSolver

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

func NewPicrSolver

func NewPicrSolver(rowClues [][]uint, colClues [][]uint, notifCh chan PicrSolverNotification) (*PicrSolver, error)

type PicrSolverNotification

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

type PicrWorker

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

PicrWorker handles a single row (column) of a picross puzzle.

func NewPicrWorker

func NewPicrWorker(depth uint, clue []uint, notifCh chan PicrWorkerNotification) (*PicrWorker, error)

type PicrWorkerNotification

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

Jump to

Keyboard shortcuts

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