Skema konfigurasi lokal untuk katalog game ggg999.
JavaScript
// Konfigurasi objek data lokal ggg999
const localGameCatalog = {
platform: "ggg999",
region: "id",
featuredGames: [
{ id: "111", name: "Garuda Gems", category: "Permainan Slot" },
{ id: "175", name: "Jack Giant Hunt", category: "Permainan Slot" },
{ id: "106", name: "Emoji Riches", category: "Permainan Slot" },
{ id: "077", name: "Jewels Prosper", category: "Permainan Slot" },
{ id: "129", name: "Fortune Rabbit", category: "Permainan Slot" }
],
status: "active"
};
function getGameInfo(id) {
return localGameCatalog.featuredGames.find(item => item.id === id) || null;
}
JSON
{
"platform": "ggg999",
"region": "id",
"featuredGames": [
{ "id": "111", "name": "Garuda Gems", "category": "Permainan Slot" },
{ "id": "175", "name": "Jack Giant Hunt", "category": "Permainan Slot" },
{ "id": "106", "name": "Emoji Riches", "category": "Permainan Slot" },
{ "id": "077", "name": "Jewels Prosper", "category": "Permainan Slot" },
{ "id": "129", "name": "Fortune Rabbit", "category": "Permainan Slot" }
],
"status": "active"
}