JavaScript
// Cau hinh cuc bo mo phong danh muc tro choi uu888
const localGameRegistry = {
brand: 'uu888',
platform: 'android',
featuredGames: [
{ id: '064', name: 'Phoenix Rises', category: 'Slot game' },
{ id: '021', name: 'Mr Hallow Jp', category: 'Slot game' },
{ id: '130', name: 'Rave Party Fvr', category: 'Slot game' },
{ id: '070', name: 'Genies Wishes', category: 'Slot game' },
{ id: '194', name: 'Mighty Mania', category: 'Slot game' }
],
checkEligibility: function(userAge) {
return userAge >= 18;
}
};
// Kiem tra dieu kien tham gia mo phong
const isEligible = localGameRegistry.checkEligibility(20);
// Tra ve ket qua kiem tra noi bo
JSON
{
"brand": "uu888",
"platform": "android",
"supportedCategory": "Slot game",
"items": [
{"id": "064", "name": "Phoenix Rises"},
{"id": "021", "name": "Mr Hallow Jp"},
{"id": "130", "name": "Rave Party Fvr"},
{"id": "070", "name": "Genies Wishes"},
{"id": "194", "name": "Mighty Mania"}
],
"minAge": 18
}