Step 3: Simple Competition products

Select the Product (i.e. game) that is used for the Competition and Contest. 

In this step, you select Products and how many rounds this Competition will contain.

PRODUCTS

EXAMPLES

Product

Required

Array[Object]

Select a Product to use for the Competition and Contest. It is possible to select multiple Products with one Competition.
Scoring strategy

Required

Enum

Scoring strategies are used for the leaderboard to populate the leaderboard depending on what kind of competition you want to run. The basic one is "The sum of all the points a player scores during the contest (Cumulative)" - in short all the points of the participants will be summed up and populated in the leaderboard.

Ranking

Required

Model

The Ranking can be from the smallest score to the biggest or the other way around. You can also make the ranking of the participants that have the same amount of points to be in the same rank or different rank depending on the time they sent the last event. 

APP Example:

Product
The Fruits
Scoring strategy
The sum of all the points a player scores during the contest (Cumulative)
Ranking
Scores in descending order
Descending
Time in descending order
Ascending
Score first
Score first
Ignore Time
No
Ignore Score
No

API Example:

{
    "jsonClass": "Competition",    
...
    "numberOfRounds": 1,
  "products": [
  {
"jsonClass": "Product",
"name": "The Fruits",
"productType": "Slot",
"accountId": "E8jwdGsBmxo4zyGh9Hs7",
"description": "Demo Fruits slot product",
"adjustmentFactor": 1.0,
"productRefId": "fruits",
"actionAdjustmentFactors": [],
"productGroups": [
""
],
"metadata": [],
"created": "2019-06-20T12:51:19.668+00:00",
"id": "GsjwdGsBmxo4zyGh_3v0"
}
],
  "strategies": {
  "jsonClass": "Strategies",
  "strategyType": "TotalCumulative",
  "rankingStrategy": {
  "jsonClass": "RankingStrategy",
  "scoreDesc": true,
  "timeDesc": false,
  "scoreFirst": true,
  "ignoreTime": false,
  "ignoreScore": false
  },
  "scoringStrategy": {
  "jsonClass": "ScoringStrategy",
  "limitUpdatesTo": 0,
  "sumBestXOf": 0,
  "lastUpdateTimeStamp": 0,
  "recordTimeWhenSumReaches": 0.0
  }
  }
},
    ...
}

A full example of POST Competition can be found in the Competitions APP API documentation here


CONTINUE Click Next and continue to the next step.