boggle

package
v0.0.0-...-2b2b3c0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2022 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	X = 0
	Y = 1
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Board

type Board [][]rune // Y, X

func (Board) Dims

func (b Board) Dims() (int, []int)

func (Board) IsRect

func (b Board) IsRect() bool

func (Board) Size

func (b Board) Size() [2]int

type Dict

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

func (*Dict) Contains

func (d *Dict) Contains(s string) bool

func (*Dict) Delete

func (d *Dict) Delete(s string)

func (*Dict) Each

func (d *Dict) Each(f func(*Dict, string) error) error

func (*Dict) Get

func (d *Dict) Get(s string) *Dict

func (*Dict) Insert

func (d *Dict) Insert(s string)

func (*Dict) Len

func (d *Dict) Len() int

func (*Dict) Words

func (d *Dict) Words() map[string]struct{}

type Point

type Point [2]int

func (Point) X

func (p Point) X() int

func (Point) Y

func (p Point) Y() int

Jump to

Keyboard shortcuts

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