kuromasu

package
v0.0.0-...-5cc4ecd Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Core

type Core struct {
	Width    int        `json:"width"`
	Height   int        `json:"height"`
	Task     [][]string `json:"task"`
	Solution [][]string `json:"solution"`
}

func Generate

func Generate(w, h, fill int) (Core, error)

type VerifyResult

type VerifyResult struct {
	IsValid  bool     `json:"isValid"`
	Position position `json:"position"`
}

func Verify

func Verify(sol [][]string) (VerifyResult, error)

Jump to

Keyboard shortcuts

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