utilities

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MacondoEvtToOMGEvt

func MacondoEvtToOMGEvt(evt *macondo.GameEvent, index int, letterdist *tilemapping.LetterDistribution) *ipc.GameEvent

func ToGameDocument

func ToGameDocument(g *entity.Game, cfg *config.Config) (*ipc.GameDocument, error)

func ToGameHistory

func ToGameHistory(doc *ipc.GameDocument, cfg *config.Config) (*macondo.GameHistory, error)

ToGameHistory is a helper function to convert a GameDocument back to a game history. Eventually we will not have GameHistory's anymore.

Types

This section is empty.

Jump to

Keyboard shortcuts

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