> For the complete documentation index, see [llms.txt](https://doc.lucky-cycle.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.lucky-cycle.com/games/index/brelan.md).

# Brelan

{% hint style="warning" %}
Demo: <https://campaigns.lucky-cycle.com/utils/games?game=brelan>
{% endhint %}

1. [#configuration](#configuration "mention")
2. [#options](#options "mention")
3. [#assets](#assets "mention")

### Configuration

<details>

<summary>JSON</summary>

```json
{
  "options": {
    "background_color": "transparent",
    "use_reward_image": false
  },
  "texts": {
    "en": {},
    "fr": {},
    "nl": {}
  },
  "images": {
    "background_image": "",
    "back": GAME_URL + "/back.png",
    "image_list": [
      GAME_URL + "/2.png",
      GAME_URL + "/3.png",
      GAME_URL + "/4.png",
      GAME_URL + "/5.png",
      GAME_URL + "/6.png",
      GAME_URL + "/7.png",
      GAME_URL + "/8.png",
      GAME_URL + "/9.png",
      GAME_URL + "/10.png",
      GAME_URL + "/jack.png",
      GAME_URL + "/queen.png",
      GAME_URL + "/king.png"
    ],
    "win": GAME_URL + "/ace.png",
    "rewards": {}
  }
}
```

</details>

### Options

<table><thead><tr><th>Key</th><th>Type</th><th>Explanation</th><th>Default</th></tr></thead><tbody><tr><td><pre><code>background_color
</code></pre></td><td>String</td><td>Background colour of the game (if no image).</td><td>"transparent"</td></tr><tr><td><pre><code>use_reward_image
</code></pre></td><td>Boolean</td><td>Use one image per reward, or default one <em>(win)</em>.</td><td>false</td></tr></tbody></table>

### Assets

<table><thead><tr><th>Key</th><th>Size</th><th>Explanation</th><th>Default</th></tr></thead><tbody><tr><td><pre><code>background_image
</code></pre></td><td></td><td>Background image of the game.</td><td>/</td></tr><tr><td><pre><code>back
</code></pre></td><td>150 x 200px</td><td>Visual displayed <strong>before</strong> clicking (card back).</td><td><a href="https://statics.lucky-cycle.com/files/_games/brelan/back.png">/back.png</a></td></tr><tr><td><pre><code>image_list
</code></pre></td><td>150 x 200px</td><td>Visuals used in the game (card front).</td><td><a href="https://statics.lucky-cycle.com/files/_games/brelan/2.png">/2.png</a></td></tr><tr><td><pre><code>win
</code></pre></td><td>150 x 200px</td><td>Visual if won (<em>use_reward_image</em> has to be set to <em>false</em>).</td><td><a href="https://statics.lucky-cycle.com/files/_games/brelan/ace.png">/ace.png</a></td></tr></tbody></table>
