game.go 423 Bytes
package game_e

import "fmt"

type GameType uint32

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

const (
	GameTypeLudo GameType = 1 // ludo
	GameTypeUno  GameType = 2 // uno
)

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

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