registry

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Definitions

func Definitions() []puzzle.Definition

func Help

func Help(name string) (string, bool)

func Import

func Import(gameType string, data []byte) (game.Gamer, error)

func Names

func Names() []string

Types

type DailyEntry

type DailyEntry struct {
	Spawner  game.SeededSpawner
	GameID   puzzle.GameID
	GameType string
	ModeID   puzzle.ModeID
	Mode     string
}

func DailyEntries

func DailyEntries() []DailyEntry

type Entry

type Entry struct {
	Definition puzzle.Definition
	Help       string
	Import     func([]byte) (game.Gamer, error)
	Modes      []ModeEntry
}

func Entries

func Entries() []Entry

func Lookup

func Lookup(name string) (Entry, bool)

func Resolve

func Resolve(name string) (Entry, bool)

type ModeEntry

type ModeEntry struct {
	Definition puzzle.ModeDef
	Spawner    game.Spawner
	Seeded     game.SeededSpawner
}

Jump to

Keyboard shortcuts

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