boom

package
v0.0.0-...-f5e84f7 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AbsInt

func AbsInt(a int) int

func CheckWin

func CheckWin()

func GameOver

func GameOver()

func InitConfig

func InitConfig()

func KeyEvent

func KeyEvent()

func PrintfMine

func PrintfMine()

func PrintfMine1

func PrintfMine1()

func Printf_All

func Printf_All()

func Printf_Message

func Printf_Message()

func Run_Mine

func Run_Mine()

func SetFlag

func SetFlag(x, y, action int) bool

func SetMine

func SetMine()

func SetMineNum

func SetMineNum()

func SetSizeAndNum

func SetSizeAndNum(size int)

Types

type Struct_Config

type Struct_Config struct {
	Area      [][]show
	Size      int
	MineNum   int
	IsMine    int
	TrueMine  int
	Opened    int
	Start     int
	Key       chan termbox.Key
	UseTime   int64
	StartTime int64
	// contains filtered or unexported fields
}
var RunConfig Struct_Config

Jump to

Keyboard shortcuts

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