Contoh struktur berkas konfigurasi lokal untuk katalog game 7777w.
JavaScript
// Konfigurasi objek permainan lokal 7777w
const localGameConfig = {
brand: "7777w",
country: "id",
supportedGames: [
{ id: "110", name: "Fortune Tiger", category: "Slot" },
{ id: "195", name: "Super Wildrix", category: "Slot" },
{ id: "135", name: "Spr Golf Drive", category: "Slot" }
],
locale: "id-ID",
clientPlatform: "Android"
};
function getGameTitle(gameId) {
const target = localGameConfig.supportedGames.find(g => g.id === gameId);
return target ? target.name : "Permainan Tidak Ditemukan";
}
JSON
{
"brand": "7777w",
"country": "id",
"supportedGames": [
{
"id": "110",
"name": "Fortune Tiger",
"category": "Slot"
},
{
"id": "195",
"name": "Super Wildrix",
"category": "Slot"
},
{
"id": "135",
"name": "Spr Golf Drive",
"category": "Slot"
}
],
"locale": "id-ID",
"clientPlatform": "Android"
}