For the complete documentation index, see llms.txt. This page is also available as Markdown.

Brelan

Configuration

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": {}
  }
}

Options

Key
Type
Explanation
Default

String

Background colour of the game (if no image).

"transparent"

Boolean

Use one image per reward, or default one (win).

false

Assets

Key
Size
Explanation
Default

Background image of the game.

/

150 x 200px

Visual displayed before clicking (card back).

150 x 200px

Visuals used in the game (card front).

150 x 200px

Visual if won (use_reward_image has to be set to false).

Last updated