game.go 423 Bytes
Newer Older
hujiebin's avatar
hujiebin committed
1 2
package game_e

hujiebin's avatar
hujiebin committed
3 4
import "fmt"

hujiebin's avatar
hujiebin committed
5 6 7 8 9 10 11 12
type GameType uint32

var GameLudoDiamondList = []uint32{0, 100, 500, 1000, 5000, 10000}

const (
	GameTypeLudo GameType = 1 // ludo
	GameTypeUno  GameType = 2 // uno
)
hujiebin's avatar
hujiebin committed
13 14 15 16 17 18

const GameAutoMathEnterRoom = "game:autoEnter:%d:%s" // 快速游戏,进入某个房间

func GetAutoMathEnterRoom(userId uint64, imGroupId string) string {
	return fmt.Sprintf(GameAutoMathEnterRoom, userId, imGroupId)
}