game

package
v0.0.0-...-d0275cf Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitWorld

func InitWorld()

func PlaceBelt

func PlaceBelt(x, y, rot int) *belt.Belt

func PlaceMiner

func PlaceMiner(x, y int) *machine.Miner

func StartServer

func StartServer(host string, port int)

func Tick

func Tick()

Types

type Client

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

func (Client) Init

func (c Client) Init() tea.Cmd

func (Client) Update

func (c Client) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (Client) View

func (c Client) View() string

Jump to

Keyboard shortcuts

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