namegen

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: 1 Imported by: 0

Documentation

Overview

Package namegen generates random human-readable names for saved games.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate() string

Generate returns a random "adjective-noun" name.

func GenerateSeeded added in v1.3.0

func GenerateSeeded(rng *rand.Rand) string

GenerateSeeded returns a deterministic "adjective-noun" name using the provided RNG. Two calls with identically-seeded RNGs produce the same name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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