Struktur berkas konfigurasi lokal katalog game rk88.
JavaScript
// Konfigurasi objek permainan rk88 secara lokal
const rk88Config = {
platform: "rk88",
country: "id",
supportedGames: [
{ id: "161", name: "Wings Iguazu", category: "Slot" },
{ id: "077", name: "Jewels Prosper", category: "Slot" },
{ id: "128", name: "Midas Fortune", category: "Slot" },
{ id: "137", name: "Fruity Candy", category: "Slot" },
{ id: "174", name: "Dead Man Riches", category: "Slot" }
],
clientSettings: {
environment: "local-demo",
autoReconnect: true,
defaultLang: "id"
}
};
function getGameDetails(gameId) {
return rk88Config.supportedGames.find(g => g.id === gameId) || null;
}
module.exports = { rk88Config, getGameDetails };
JSON
{
"platform": "rk88",
"country": "id",
"supportedGames": [
{
"id": "161",
"name": "Wings Iguazu",
"category": "Slot"
},
{
"id": "077",
"name": "Jewels Prosper",
"category": "Slot"
},
{
"id": "128",
"name": "Midas Fortune",
"category": "Slot"
},
{
"id": "137",
"name": "Fruity Candy",
"category": "Slot"
},
{
"id": "174",
"name": "Dead Man Riches",
"category": "Slot"
}
],
"clientSettings": {
"environment": "local-demo",
"autoReconnect": true,
"defaultLang": "id"
}
}