You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
70 lines
1.9 KiB
Go
70 lines
1.9 KiB
Go
package consts
|
|
|
|
type Game struct {
|
|
ID int64
|
|
Title string
|
|
Img string
|
|
Link string
|
|
}
|
|
|
|
var Games = []Game{
|
|
{
|
|
ID: 1,
|
|
Img: "/resource/2026/06/10/d8keg5p0b4msm624ivcg.png",
|
|
Title: "Penalty Champs",
|
|
Link: "https://game-paly.playwithwin.com/penaltychamps22/v2/index.html?site-id=24792654",
|
|
},
|
|
{
|
|
ID: 2,
|
|
Img: "/resource/2026/06/10/d8keg5progthlcfhvsqg.png",
|
|
Title: "Football Legends",
|
|
Link: "https://game-paly.playwithwin.com/footballlegends/v7/index.html?site-id=24792654",
|
|
},
|
|
{
|
|
ID: 3,
|
|
Img: "/resource/2026/06/10/d8keg5o1bc5r8vr5962g.png",
|
|
Title: "Magic and Wizards Match",
|
|
Link: "https://game-paly.playwithwin.com/magicandwizardsmatch/v1/index.html?site-id=24792654",
|
|
},
|
|
{
|
|
ID: 4,
|
|
Img: "/resource/2026/06/10/d8keg5o1bc5r8vr59670.png",
|
|
Title: "Soccer Bubble Shooter",
|
|
Link: "https://game-paly.playwithwin.com/soccerbubbleshooter/v3/index.html?site-id=24792654",
|
|
},
|
|
{
|
|
ID: 5,
|
|
Img: "/resource/2026/06/16/d8ogirn5ar9vkeoif8n0.png",
|
|
Title: "Word City Crossed",
|
|
Link: "https://game-paly.playwithwin.com/wordcitycrossed/v2/index.html?site-id=24792654",
|
|
},
|
|
{
|
|
ID: 6,
|
|
Img: "/resource/2026/06/10/d8keg5ta5kl0th1o0600.png",
|
|
Title: "Word Search",
|
|
Link: "https://game-paly.playwithwin.com/wordsearch/v1/index.html?site-id=24792654",
|
|
},
|
|
{
|
|
ID: 7,
|
|
Img: "/resource/2026/06/10/d8keg5o1bc5r8vr5963g.png",
|
|
Title: "Ultimate Sudoku",
|
|
Link: "https://game-paly.playwithwin.com/ultimatesudoku/v2/index.html?site-id=24792654",
|
|
},
|
|
{
|
|
ID: 8,
|
|
Img: "/resource/2026/06/10/d8keg5p35bitkaefcfhg.png",
|
|
Title: "2048",
|
|
Link: "https://game-paly.playwithwin.com/20482/v1/index.html?site-id=24792654",
|
|
},
|
|
}
|
|
|
|
func GameLinkMap() (ids []int64, gameMap map[int64]Game) {
|
|
ids = make([]int64, 0, len(Games))
|
|
gameMap = make(map[int64]Game, len(Games))
|
|
for _, v := range Games {
|
|
ids = append(ids, v.ID)
|
|
gameMap[v.ID] = v
|
|
}
|
|
return ids, gameMap
|
|
}
|