game

package
v0.0.0-...-67fd331 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WIDTH         = 1920
	HEIGHT        = 1080
	BUTTON_WIDTH  = 300
	BUTTON_HEIGHT = 100
	NUM_ROWS      = 5
	NUM_COLS      = 7
	TITLE_RADIUS  = 60
	BAR_WIDTH     = 1400
	MAX_TIME      = 15
)

Variables

This section is empty.

Functions

func New

func New(er embed.FS) ebiten.Game

Types

type BoardPosition

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

type GameState

type GameState int
const (
	StandByState GameState = iota
	PlayingState
	EndState
)

type TileState

type TileState int
const (
	EmptyTile TileState = iota
	AlphaTile
	BetaTile
	CenterTile
	MouseOverTile
	PlayerTile
	InvalidTile = -1
)

Jump to

Keyboard shortcuts

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