game

package
v0.0.0-...-211a84a Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2021 License: MIT Imports: 3 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 {
	UID   *uid.UID        `json:"-"`
	Board *elements.Board `json:"-"`
}

func New_Game

func New_Game(game_uid *uid.UID, size_x, size_y int) *Game

func (*Game) MarshalJSON

func (g *Game) MarshalJSON() ([]byte, error)

func (*Game) UnmarshalJSON

func (g *Game) UnmarshalJSON(data []byte) error

func (*Game) Update

func (g *Game) Update() error

Directories

Path Synopsis
util
uid

Jump to

Keyboard shortcuts

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