Struktur konfigurasi objek lokal aplikasi f83 untuk katalog permainan.
JavaScript
// Konfigurasi objek lokal f83 untuk katalog game
const localConfig = {
brand: 'f83',
region: 'id',
language: 'id',
games: [
{ id: '076', name: 'Queen Bounty', category: 'Slot' },
{ id: '129', name: 'Fortune Rabbit', category: 'Slot' },
{ id: '003', name: 'Fortune Gods', category: 'Slot' },
{ id: '024', name: 'Prosperity Lion', category: 'Slot' },
{ id: '176', name: 'Diner Frenzy', category: 'Slot' }
],
debugMode: false
};
function getFeaturedGame(config) {
return config.games[0] || null;
}
module.exports = { localConfig, getFeaturedGame };
JSON
{
"brand": "f83",
"region": "id",
"language": "id",
"games": [
{
"id": "076",
"name": "Queen Bounty",
"category": "Slot"
},
{
"id": "129",
"name": "Fortune Rabbit",
"category": "Slot"
},
{
"id": "003",
"name": "Fortune Gods",
"category": "Slot"
},
{
"id": "024",
"name": "Prosperity Lion",
"category": "Slot"
},
{
"id": "176",
"name": "Diner Frenzy",
"category": "Slot"
}
],
"debugMode": false
}