Contoh konfigurasi lokal JavaScript dan JSON untuk mengelola katalog permainan.
JavaScript
// Konfigurasi daftar game lokal tar55
const tar55GameConfig = {
brand: "tar55",
locale: "id-ID",
featuredGames: [
{ id: "111", name: "Garuda Gems", category: "Slot" },
{ id: "125", name: "Alchemy Gold", category: "Slot" },
{ id: "135", name: "Spr Golf Drive", category: "Permainan Olahraga" }
],
onboardingSteps: [
"Pahami katalog game",
"Ketahui navigasi akun",
"Coba mode pengenalan visual"
]
};
function getGameList() {
return tar55GameConfig.featuredGames;
}
console.log("Katalog siap:", getGameList());
JSON
{
"brand": "tar55",
"locale": "id-ID",
"featuredGames": [
{
"id": "111",
"name": "Garuda Gems",
"category": "Slot"
},
{
"id": "125",
"name": "Alchemy Gold",
"category": "Slot"
},
{
"id": "135",
"name": "Spr Golf Drive",
"category": "Permainan Olahraga"
}
],
"onboardingSteps": [
"Pahami katalog game",
"Ketahui navigasi akun",
"Coba mode pengenalan visual"
]
}