Contoh skema data konfigurasi permainan lokal rt33.
JavaScript
// Konfigurasi objek permainan lokal rt33
const platformCatalog = {
brand: "rt33",
country: "id",
supportedPlatform: ["android"],
featuredGames: [
{ id: "090", title: "Majestic Ts", category: "Slot" },
{ id: "137", title: "Fruity Candy", category: "Slot" },
{ id: "113", title: "Btrfly Blossom", category: "Slot" }
],
validateGameId: function(gameId) {
return this.featuredGames.some(game => game.id === gameId);
}
};
console.log("Status validasi game:", platformCatalog.validateGameId("090"));
JSON
{
"brand": "rt33",
"country": "id",
"supportedPlatform": [
"android"
],
"featuredGames": [
{
"id": "090",
"title": "Majestic Ts",
"category": "Slot"
},
{
"id": "137",
"title": "Fruity Candy",
"category": "Slot"
},
{
"id": "113",
"title": "Btrfly Blossom",
"category": "Slot"
}
]
}