game

package
v0.0.0-...-f2b97f9 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Game

type Game struct {
	*mserver.Server
	// contains filtered or unexported fields
}

Game represents an instance of a game running on this server.

func New

func New(logger *logrus.Logger) (*Game, error)

New creates a new game, configured with the provided configuration file.

func (*Game) Start

func (g *Game) Start() error

Start starts the game, opening the configured query and game ports.

Jump to

Keyboard shortcuts

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