Game

package
v0.0.0-...-1446c6c Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MsgList = make(chan string, 100)

Functions

func ClearUnderBlock

func ClearUnderBlock()

func Down_speed_up_tick

func Down_speed_up_tick()

func GameRussia

func GameRussia()

func JudgeCollision_down

func JudgeCollision_down() bool

func JudgeCollision_other

func JudgeCollision_other(num int) bool

func MsgReturn

func MsgReturn()

Types

type GameInit

type GameInit struct {
	Side       int    `json:"side"`
	Width      int    `json:"width"`
	Height     int    `json:"height"`
	Speed      int    `json:"speed"`
	Num_block  int    `json:"num_block"`
	Type_color string `json:"type_color"`
	//Ident           int      `json:"ident"`
	Direction       int      `json:"direction"`
	Grade           int      `json:"grade"`
	Over            bool     `json:"Over"`
	Arr_bX          []int    `json:"arr_bX"`
	Arr_bY          []int    `json:"arr_bY"`
	Arr_store_X     []int    `json:"arr_store_X"`
	Arr_store_Y     []int    `json:"arr_store_Y"`
	Arr_store_color []string `json:"arr_store_color"`
}

Jump to

Keyboard shortcuts

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