Flip Cards
Configuration
JSON
{
"options": {
"columns": 2,
"rows": 1,
"number_of_try": 1,
"background_color": "transparent",
"use_reward_image": false,
"default_lang": "fr"
},
"texts": {
"en": {},
"fr": {},
"nl": {}
},
"sounds": {},
"images": {
"background_image": GAME_URL + "/assets/flip-card/background.png",
"image_list": [
GAME_URL + "/assets/flip-card/back-1.png"
],
"win": GAME_URL + "/assets/flip-card/win.png",
"lose": GAME_URL + "/assets/flip-card/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
String
[PTF] Default language if unmatched language.
"fr"
Assets
Key
Size
Explanation
Default
Last updated