{
  "key": "mini_crossword",
  "name": "Mini Crossword",
  "nameAr": "الكلمات المتقاطعة",
  "icon": "✏️",
  "category": "puzzle",
  "description": "Write the correct word from the definition",
  "descriptionAr": "اكتب الكلمة الصحيحة من التعريف",
  "version": "1.0.0",
  "displayOrder": 16,
  "minPlayers": 1,
  "maxPlayers": 20,
  "showBottomTabBar": true,
  "settingsGroups": [
    { "key": "gameplay", "labelAr": "اللعب", "icon": "🎯" },
    { "key": "scoring", "labelAr": "النقاط", "icon": "💰" },
    { "key": "display", "labelAr": "العرض", "icon": "📺" },
    { "key": "admin", "labelAr": "الأدمن", "icon": "🛡️" }
  ],
  "settings": [
    {
      "key": "questionCount",
      "type": "number",
      "label": "Number of Questions",
      "labelAr": "عدد الأسئلة",
      "icon": "❓",
      "group": "gameplay",
      "default": 10,
      "min": 3,
      "max": 30,
      "step": 1
    },
    {
      "key": "timeLimit",
      "type": "number",
      "label": "Time Limit (seconds)",
      "labelAr": "الوقت لكل سؤال (ثانية)",
      "icon": "⏱️",
      "group": "gameplay",
      "default": 20,
      "min": 5,
      "max": 60,
      "step": 1
    },
    {
      "key": "shuffleQuestions",
      "type": "boolean",
      "label": "Shuffle Questions",
      "labelAr": "ترتيب عشوائي",
      "icon": "🔀",
      "group": "gameplay",
      "default": true
    },
    {
      "key": "showHint",
      "type": "boolean",
      "label": "Show Hint Button",
      "labelAr": "إظهار زر التلميح",
      "icon": "💡",
      "group": "gameplay",
      "default": true
    },
    {
      "key": "pointsPerQuestion",
      "type": "number",
      "label": "Points per Question",
      "labelAr": "نقاط لكل سؤال",
      "icon": "⭐",
      "group": "scoring",
      "default": 10,
      "min": 1,
      "max": 50,
      "step": 1
    },
    {
      "key": "speedBonus",
      "type": "number",
      "label": "Speed Bonus",
      "labelAr": "مكافأة السرعة",
      "icon": "⚡",
      "group": "scoring",
      "default": 5,
      "min": 0,
      "max": 20,
      "step": 1
    },
    {
      "key": "wrongPenalty",
      "type": "number",
      "label": "Wrong Answer Penalty",
      "labelAr": "خصم الإجابة الخاطئة",
      "icon": "➖",
      "group": "scoring",
      "default": 0,
      "min": 0,
      "max": 10,
      "step": 1
    },
    {
      "key": "showAnswer",
      "type": "boolean",
      "label": "Show Correct Answer",
      "labelAr": "عرض الإجابة الصحيحة",
      "icon": "✅",
      "group": "display",
      "default": true
    },
    {
      "key": "showLeaderboard",
      "type": "boolean",
      "label": "Show Leaderboard",
      "labelAr": "عرض لوحة المتصدرين",
      "icon": "📊",
      "group": "display",
      "default": true
    },
    {
      "key": "leaderboardDuration",
      "type": "number",
      "label": "Leaderboard Duration (s)",
      "labelAr": "مدة عرض النتائج (ثانية)",
      "icon": "⏳",
      "group": "display",
      "default": 7,
      "min": 3,
      "max": 15,
      "step": 1
    },
    {
      "key": "adminMode",
      "type": "select",
      "label": "Admin Mode",
      "labelAr": "وضع الأدمن",
      "icon": "👑",
      "group": "admin",
      "default": "controller",
      "options": [
        { "value": "controller", "label": "Controller", "labelAr": "متحكم" },
        { "value": "participant", "label": "Participant", "labelAr": "مشارك" }
      ]
    }
  ]
}
