registry

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2026 License: MIT Imports: 20 Imported by: 0

Documentation

Overview

Package registry is the concrete runtime composition root for built-in games, imports, help text, and daily-capable modes.

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 = gameentry.Entry

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 = gameentry.ModeEntry

Jump to

Keyboard shortcuts

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