githubEdit

Flip Cards

Configuration

chevron-rightJSONhashtag
{
  "options": {
    "columns": 2,
    "rows": 1,
    "number_of_try": 1,
    "background_color": "transparent",
    "use_reward_image": false
  },
  "texts": {
    "en": {},
    "fr": {},
    "nl": {}
  },
  "images": {
    "background_image": GAME_URL + "/background.jpg",
    "image_list": [
      GAME_URL + "/back-1.png"
    ],
    "win": GAME_URL + "/win.png",
    "lose": GAME_URL + "/lose.png",
    "rewards": {}
  }
}

Options

Key
Type
Explanation
Default

Integer

Grid (determines the number of items displayed, rows*columns).

2 / 1

Integer

Number of chances (clicks).

1

String

Background colour (visible if no image).

"transparent"

Boolean

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

false

Assets

Key
Size
Explanation
Default

550 x 380px

Background of the game.

120 x 200px

Visual(s) displayed before clicking.

120 x 200px

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

120 x 200px

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

Last updated