{
  "schemaVersion": 1,
  "id": "odin_cards",
  "name": "Odin",
  "minPlayers": 2,
  "maxPlayers": 6,
  "scoreType": "negative",
  "scoreFormula": { "strategy": "sum_rounds" },
  "targetScore": {
    "type": "fromOption",
    "optionId": "target_score",
    "customSentinel": "custom",
    "customOptionId": "custom_target_score"
  },
  "targetScoreCondition": "reaches",
  "description": "Videz votre main le plus vite possible. Un point par carte restante. La partie s'arrête quand le score cible est atteint, le plus petit score gagne.",
  "icon": "Sword",
  "colors": { "primary": "#c2410c" },
  "options": [
    {
      "id": "target_score",
      "label": "Score de fin de partie",
      "type": "select",
      "defaultValue": "15",
      "options": [
        { "label": "Partie courte (15 pts)", "value": "15" },
        { "label": "Partie classique (20 pts)", "value": "20" },
        { "label": "Personnalisé", "value": "custom" }
      ]
    },
    {
      "id": "custom_target_score",
      "label": "Score personnalisé",
      "type": "number",
      "defaultValue": 25
    }
  ]
}
