{
    "gameConfig": {
        "questionsUrl": "STREAMING_ASSETS/json/questions_calculator.json",
        "resolution": {
            "width": 1920,
            "height": 1080
        },
        "background": {
            "videoUrl": ""
        },
        "assets": {
            "calculatorImage": "https://ujsa.studioplc.fr/datas/images/calculator_restaurant.png"
        },
        "calculatorConfig": {
            "imageUrl": "https://ujsa.studioplc.fr/datas/images/calculator_restaurant.png",
            "width": 600,
            "height": 800,
            "positionX": 0,
            "positionY": -50,
            "displayZone": {
                "x": 40,
                "y": 50,
                "width": 520,
                "height": 100
            }
        },
        "calculatorButtons": [
            { "label": "7", "x": 40, "y": 180, "width": 120, "height": 80 },
            { "label": "8", "x": 175, "y": 180, "width": 120, "height": 80 },
            { "label": "9", "x": 310, "y": 180, "width": 120, "height": 80 },
            { "label": "C", "x": 445, "y": 180, "width": 120, "height": 80 },
            { "label": "4", "x": 40, "y": 280, "width": 120, "height": 80 },
            { "label": "5", "x": 175, "y": 280, "width": 120, "height": 80 },
            { "label": "6", "x": 310, "y": 280, "width": 120, "height": 80 },
            { "label": "+", "x": 445, "y": 280, "width": 120, "height": 80 },
            { "label": "1", "x": 40, "y": 380, "width": 120, "height": 80 },
            { "label": "2", "x": 175, "y": 380, "width": 120, "height": 80 },
            { "label": "3", "x": 310, "y": 380, "width": 120, "height": 80 },
            { "label": "-", "x": 445, "y": 380, "width": 120, "height": 80 },
            { "label": "0", "x": 40, "y": 480, "width": 255, "height": 80 },
            { "label": ".", "x": 310, "y": 480, "width": 120, "height": 80 },
            { "label": "=", "x": 445, "y": 480, "width": 120, "height": 80 }
        ],
        "uiConfig": {
            "questionConfig": {
                "fontSize": 32,
                "fontColor": "#FFFFFF",
                "fontBold": true,
                "alignment": "center"
            }
        },
        "sounds": {
            "buttonClickUrl": "",
            "correctAnswerUrl": "",
            "wrongAnswerUrl": ""
        }
    },
    "successConfig": {
        "minCorrectAnswers": 2,
        "minCorrectPercentage": 60,
        "usePercentage": false,
        "description": "Il faut au moins 2 bonnes réponses pour réussir"
    },
    "questions": [
        {
            "id": 1,
            "question": "Quel est le taux de prise en charge des tarifs de référence pour les frais dentaires ?",
            "correctAnswerMin": 0,
            "correctAnswerMax": 0,
            "explanation": "Le taux de prise en charge des soins dentaires de base par l'Assurance Maladie est de 0% hors affection de longue durée.",
            "points": 15
        },
        {
            "id": 2,
            "question": "Combien font 125 + 87 ?",
            "correctAnswerMin": 212,
            "correctAnswerMax": 212,
            "explanation": "125 + 87 = 212",
            "points": 10
        },
        {
            "id": 3,
            "question": "Si un soin coûte 300€ et la prise en charge est de 15%, combien restez-vous payé ?",
            "correctAnswerMin": 255,
            "correctAnswerMax": 255,
            "explanation": "300€ - (300€ × 15%) = 300€ - 45€ = 255€ à votre charge",
            "points": 20
        }
    ]
}

