Contoh konfigurasi data katalog game statis untuk implementasi lokal.
JavaScript
// Konfigurasi metadata katalog game lokal spinthewheel
const localCatalogConfig = {
brand: "spinthewheel",
country: "id",
defaultPlatform: "android",
featuredGames: [
{ id: "074", name: "Vampires Charm", category: "Slot" },
{ id: "122", name: "Wild Bounty Sd", category: "Slot" },
{ id: "172", name: "Doomsday Rampg", category: "Slot" },
{ id: "160", name: "Yakuza Honor", category: "Slot" },
{ id: "158", name: "Futebol Fever", category: "Slot" }
],
allowGuestPreview: true
};
function getGameInfo(gameId) {
return localCatalogConfig.featuredGames.find(g => g.id === gameId) || null;
}
console.log("Game terpilih:", getGameInfo("122"));
JSON
{
"brand": "spinthewheel",
"country": "id",
"defaultPlatform": "android",
"featuredGames": [
{
"id": "074",
"name": "Vampires Charm",
"category": "Slot"
},
{
"id": "122",
"name": "Wild Bounty Sd",
"category": "Slot"
},
{
"id": "172",
"name": "Doomsday Rampg",
"category": "Slot"
},
{
"id": "160",
"name": "Yakuza Honor",
"category": "Slot"
},
{
"id": "158",
"name": "Futebol Fever",
"category": "Slot"
}
],
"allowGuestPreview": true
}