JavaScript
// Konfigurasi objek klien lokal untuk simulasi status aplikasi 99rk
const clientConfig = {
brand: '99rk',
domain: '99rk2game.com',
locale: 'id-ID',
supportedPlatforms: ['android'],
initialState: {
category: 'Slot',
featuredGameId: '181'
}
};
function getGameMetadata(gameId) {
const catalog = {
'181': { name: 'Kraken Gold', category: 'Slot' },
'045': { name: 'Leprechaun Riches', category: 'Slot' },
'091': { name: 'Candy Superwin', category: 'Slot' }
};
return catalog[gameId] || null;
}
// Ekspor konfigurasi statis lokal
module.exports = { clientConfig, getGameMetadata };
JSON
{
"brand": "99rk",
"domain": "99rk2game.com",
"locale": "id-ID",
"supportedPlatforms": ["android"],
"initialState": {
"category": "Slot",
"featuredGameId": "181"
}
}