game

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(conf *config.Config) tea.Model

Types

type Game

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

func (*Game) Init

func (g *Game) Init() tea.Cmd

func (*Game) Update

func (g *Game) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*Game) View

func (g *Game) View() string

Directories

Path Synopsis
components

Jump to

Keyboard shortcuts

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