game

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PuzzleTimeRange added in v1.1.0

func PuzzleTimeRange() (time.Time, time.Time)

Types

type Option added in v1.1.0

type Option func(*builder)

func WithAuthorBias added in v1.2.0

func WithAuthorBias(authorBias float64) Option

func WithCommits added in v1.1.0

func WithCommits(commits []git.Commit) Option

func WithRandomSource added in v1.1.0

func WithRandomSource(randomSource rand.Source) Option

type Puzzle

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

func BuildPuzzle added in v1.1.0

func BuildPuzzle(opts ...Option) (Puzzle, error)

func (Puzzle) Run

func (p Puzzle) Run() error

Jump to

Keyboard shortcuts

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