types

package
v1.1.5-rc.1 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GameStatus

type GameStatus uint8
const (
	GameStatusInProgress GameStatus = iota
	GameStatusChallengerWon
	GameStatusDefenderWon
)

func GameStatusFromUint8

func GameStatusFromUint8(i uint8) (GameStatus, error)

GameStatusFromUint8 returns a game status from the uint8 representation.

func (GameStatus) String

func (s GameStatus) String() string

String returns the string representation of the game status.

Jump to

Keyboard shortcuts

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