model

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 12, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GameModel

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

func InitModel

func InitModel(best int) *GameModel

func (*GameModel) Init

func (m *GameModel) Init() tea.Cmd

func (*GameModel) Update

func (m *GameModel) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (*GameModel) View

func (m *GameModel) View() string

Jump to

Keyboard shortcuts

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