hex

package
v0.0.0-...-82d4744 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Game

type Game struct {
	Date         time.Time
	Chars        []rune
	Words        []string
	Score        int
	TargetScore  int
	PangramCount int
	TargetWords  int
	// contains filtered or unexported fields
}

func NewGame

func NewGame() (g *Game)

func (*Game) Guess

func (g *Game) Guess(s string)

func (*Game) SetWordlist

func (g *Game) SetWordlist()

func (Game) String

func (g Game) String() string

type Hex

type Hex struct {
	Games []*Game
}

func (Hex) Cleanup

func (Hex) Cleanup() error

func (Hex) Description

func (Hex) Description() string

func (Hex) Name

func (Hex) Name() string

func (*Hex) Run

func (h *Hex) Run() (err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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