🍀
Lucky Cycle
GamesCampaigns (FR)
  • đŸ•šī¸Games
    • Games
      • Explosion
      • Black-Jack
      • Brelan
      • Candy Crush
      • Catch'Em All!
      • Dino Run
      • Endless Runner
      • Flip Cards
      • Grabber
      • Hidden Object
      • Memory
      • Millionaire
      • Paper Toss
      • Penalty
      • Personality
      • Pinata
      • Scratch Card
      • Scratch Nine
      • Shooter
      • Short
      • Shuffler
      • Slicer
      • Slot Machine
      • Snake
      • Tinder
      • Vintage Wheel
      • Wheel
  • 🍄Campaigns (FR)
    • Campagnes
      • Template Standard
      • Template Wheel
Powered by GitBook
  1. Games
  2. Games

Wheel

Last updated 8 months ago

Demo:

  1. Configuration

  2. Options

  3. Assets

Configuration

JSON
{
    "options": {
      "idle_spin": true,
      "play_poke": true,
      "TOTAL_SPIN_TIME": 5,
      "use_reward_image": false,
      "nb_slices": 5,
      "index_image_win_no_reward": 0,
      "index_image_lose_no_reward": 2,
      "index_image_lose_reward": 4,
      "rewards": {},
      "default_lang": "fr"
    },
    "texts": {
      "en": {
        "btnPlay": "Play now"
      },
      "fr": {
        "btnPlay": "Je joue"
      },
      "nl": {
        "btnPlay": "Speel nu"
      }
    },
    "images": {
      "en" : {
        "pin": GAME_URL + "/assets/wheel/pin.png",
        "wheel_no_reward": GAME_URL + "/assets/wheel/wheel.png",
        "wheel_rewards": GAME_URL + "/assets/wheel/wheel.png"
      },
      "fr" : {
        "pin": GAME_URL + "/assets/wheel/pin.png",
        "wheel_no_reward": GAME_URL + "/assets/wheel/wheel.png",
        "wheel_rewards": GAME_URL + "/assets/wheel/wheel.png"
      },
      "nl" : {
        "pin": GAME_URL + "/assets/wheel/pin.png",
        "wheel_no_reward": GAME_URL + "/assets/wheel/wheel.png",
        "wheel_rewards": GAME_URL + "/assets/wheel/wheel.png"
      }
    }
}

Options

Key
Type
Explanation
Default

Boolean

Make the wheel spin before click.

true

Boolean

[Wheelio] Play the poke or not.

true

Integer

Time for which the wheel will keep spinning before stopping (in seconds).

5

Boolean

Indicate if the wheel should have a specific number of slices (see nb_slices_no_reward below) or if rewards should determine it.

false

Integer

Indicate the number of quarters in the wheel (invisible for the customer but needed for calculations).

5

Integer

Select on which slice of the wheel it will stop in case of win (and if use_reward_image is set to false).

0

Integer

Select on which slice of the wheel it will stop in case of lose (and if use_reward_image is set to false).

2

Integer

Select on which slice of the wheel it will stop in case of lose (and if use_reward_image is set to true).

4

String

[PTF] Default language if unmatched language.

"fr"

Text

Text for the button that is displayed at the start of the game.

"Play now" / "Je joue" / "Speel nu"

Assets

Key
Size
Explanation
Default

120 x 120px

Let the customer know on which quarter the wheel stopped.

550 x 550px

Visual of the wheel used if use_reward_image is set to false.

550 x 550px

Visual of the wheel used if use_reward_image is set to true.

đŸ•šī¸
idle_spin
play_poke
TOTAL_SPIN_TIME
use_reward_image
nb_slices
index_image_win_no_reward
index_image_lose_no_reward
index_image_lose_reward
default_lang
btnPlay
pin
wheel_no_reward
wheel_rewards
https://campaigns.lucky-cycle.com/game-demo/jeu/wheel
/assets/wheel/pin.png
/assets/wheel/wheel.png
/assets/wheel/wheel.png