2 weeks, 3 days from now

Clash Royale Challenge: How to Select Training Decks for Win-rate Prediction

Clash Royale Challenge is the sixth data mining competition organized in association with the Federated Conference on Computer Science and Information Systems (https://fedcsis.org/). This year, the task is related to the problem of selecting an optimal training data subset for learning how to predict win-rates of the most popular Clash Royale decks. The competition is kindly sponsored by eSensei, QED Software and Polish Information Processing Society (PTI).

Clash Royale is a popular video game which combines elements of collectible card game and tower defense genres (https://clashroyale.com/). In this game, players build decks consisting of 8 cards that represent playable troops, buildings, and spells, which they use to attack opponent's towers and defend against their cards. Using good decks is one of the critical abilities of successful Clash Royale players.

In this data mining challenge, we take on a problem of measuring and predicting the deck's effectiveness in 1v1 ladder games. In particular, we would like to find out whether it is possible to train an efficient win-rate prediction model on a relatively small subset of decks, whose win-rates were estimated in the past. Such a task can also be considered in the context of active learning, as a selection of a data batch that should be labeled and used for training a win-rate prediction model.

More details regarding the task and a description of the challenge data can be found in the Task description section.

Special session at FedCSIS'19: As in previous years, a special session devoted to the competition will be held at the conference. We will invite authors of selected challenge reports to extend them for publication in the conference proceedings (after reviews by Organizing Committee members) and presentation at the conference. The publications will be treated as short papers and will be indexed by IEEE Digital Library and Web of Science. The invited teams will be chosen based on their final rank, innovativeness of their approach and quality of the submitted report. 


  • Andrzej Janusz, Łukasz Grad, Dominik Ślęzak: Utilizing Hybrid Information Sources to Learn Representations of Cards in Collectible Card Video Games. ICDM Workshops 2018: 422-429
  • Andrzej Janusz, Dominik Ślęzak, Sebastian Stawicki, Krzysztof Stencel: SENSEI: An Intelligent Advisory System for the eSport Community and Casual Players. WI2018: 754-757
  • Andrzej Janusz, Tomasz Tajmajer, Maciej Swiechowski, Łukasz Grad, Jacek Puczniewski, Dominik Ślęzak: Toward an Intelligent HS Deck Advisor: Lessons Learned from AAIA'18 Data Mining Competition. FedCSIS 2018: 189-192
  • https://royaleapi.com/
Terms & Conditions
Please logIn to the system!

The task: Training data in this challenge consist of 100.000 Clash Royale decks that were most commonly used by players during three consecutive league seasons in 1v1 ladder games. Participants of this challenge are asked to indicate ten subsets of those decks (as lists of the corresponding row numbers) which allows constructing efficient win-rate prediction models. The quality of solutions is assessed by measuring the prediction performance of Support Vector Regression (SVR) models with radial kernels, trained on the indicated data subsets. A test set that is used for the evaluation consists of another collection of decks that were popular during the three next game seasons after the training data period. Will not be revealed to participants before the end of the challenge. It is also worth noticing that the same decks can appear in both the training and evaluation data, but they are likely to have different win-rates. The cause of those differences is the fact that the game evolves in time, players adapt to new strategies, and the balance of individual cards (and their popularity) changes slightly from one season to another.

The values of hyper-parameters of SVR, namely epsilon, C, and gamma, should also be tuned by participants and submitted as a part of the solutions.

Data description and format: The data for this competition is provided in a tabular format, as two files, namely trainingData.csv and validationData.csv. They can be obtained from the Data files section. Each row in those tables corresponds to a Clash Royale deck and is described by four columns. The first one lists eight cards that constitute the deck (the names of individual cards are separated by semicolons). The second and third column shows the number of games played with the deck, and the number of players that were using it, respectively. These values were computed based on over 160.000.000 game results obtained using the RoyaleAPI service (https://royaleapi.com/). The last column indicates estimations of win-rates of the decks, that ware calculated based on games played in the given time window. 

The validation data set consists of 6.000 decks played during the same period as the evaluation data. It is provided to participants to facilitate the evaluation of their solutions without the need for using public Leaderboard.  The evaluation set will not be revealed to participants before completion of the challenge.

The format of submissions: The participants of the competition are asked to indicate ten subsets of the training data, with increasing sizes, that allows training efficient SVR models (on bag-of-cards representations of the selected decks). Sizes of those subsets should be fixed at 600, 700, 800, 900, 1000, 1100, 1200, 1300, 1400, and 1500 decks. Along with each subset, participants should provide values of three hyper-parameter of the SVR model, that will be used during the evaluation, namely epsilon, C, and gamma.

The submission file should have a textual format. It should contain ten lines corresponding to the consecutive subsets. Each line should start from three numbers separated by semicolons (the values of the hyper-parameters in the order: epsilon; C; gamma). Then, after a single semicolon, there should be a list of integers separated by commas, indicating row numbers of the training data set, that should be used for constructing the model. The length of this list in consecutive lines should match the corresponding subset sizes stated above (i.e., the first line should contain 600 integers, the second line should contain 700 integers, and so on). The section Data files includes an example of a correctly formatted submission file.

Evaluation of results: The submitted solutions are evaluated online, and the preliminary results are published on the competition Leaderboard. The preliminary score is computed on a small subset of the test records, fixed for all participants. The final evaluation is performed after completion of the competition using the remaining part of the test data. Those results will also be published online. It is important to note that only teams which submit a report describing their approach before the end of the contest will qualify for the final evaluation. The winning teams will be officially announced during a special session devoted to this competition, which will be organized at the FedCSIS'19 conference. The evaluation system will become operational on April 25.

The assessment of solutions will be done using the R-squared metric. If we denote a prediction for a test instance i as $f_i$ and its reference win-rate as $y_i$, R-squared can be defined as: $$R^2 = 1 - \frac{RSS}{TSS},$$ where RSS is the residual sum of squares: $$RSS = \sum_i (y_i - f_i)^2,$$ and TSS is the total sum of squares: $$TSS =  \sum_i (y_i - \bar{y})^2,$$ and $$\bar{y} = \frac{1}{N}\sum_i y_i .$$ A value of this metric will be computed independently for predictions conducted by SVR models trained on each of the ten subsets included in the submitted solutions. The final score will be an average of the obtained results. 

In order to download competition files you need to be enrolled.

Here you can see the public Leaderboard of the challenge. These preliminary scores are computed on a subset of the test data and should be regarded only as a reference.

Rank Team Name Score Submission Date
0.2678 May 21, 2019, 9:29 a.m.
0.2506 May 22, 2019, 2:49 p.m.
0.2379 May 21, 2019, 12:25 a.m.
0.2156 May 4, 2019, 9:02 a.m.
0.1990 April 29, 2019, 5:24 p.m.
0.1978 May 20, 2019, 6:53 p.m.
Radosne Kurki
0.1959 May 15, 2019, 1:53 p.m.
0.1890 May 21, 2019, 9:42 p.m.
baseline solution
0.1783 April 24, 2019, 10:20 p.m.
Tomasz Garbus
0.1677 May 17, 2019, 11:37 p.m.
0.1613 May 14, 2019, 7:45 a.m.
0.1594 May 5, 2019, 11:52 a.m.
0.1547 May 17, 2019, 1:24 p.m.
0.1528 May 22, 2019, 1:14 p.m.
0.1479 May 21, 2019, 3:07 p.m.
0.1426 April 27, 2019, 8:20 p.m.
0.1358 May 22, 2019, 5:09 p.m.
0.1352 May 4, 2019, 9:28 p.m.
0.1201 May 19, 2019, 5:11 p.m.
0.1074 May 17, 2019, 9:24 a.m.
0.1050 April 27, 2019, 12:50 a.m.
0.1050 April 28, 2019, 12:52 a.m.
0.1050 April 30, 2019, 3:50 p.m.
0.1050 April 30, 2019, 4:40 p.m.
0.1050 May 1, 2019, 11:37 p.m.
0.1050 May 10, 2019, 9:01 a.m.
Magnaci i Czarodzieje
0.1050 May 19, 2019, 1:42 a.m.
Robert Benke
0.0762 May 17, 2019, 10:55 a.m.
-0.0704 May 2, 2019, 4:11 p.m.
  • April 24, 2019: start of the competition, data become available,
  • June 9, 2019 (23:59 GMT): deadline for submitting the solutions,
  • June 12, 2019 (23:59 GMT): deadline for sending the reports, end of the competition,
  • June 20, 2019: online publication of the final results, sending invitations for submitting papers for the special session at FedCSIS'19

Authors of the top-ranked solutions (based on the final evaluation scores) will be awarded prizes funded by our sponsors:

  • First Prize: 1000 USD + one free FedCSIS'19 conference registration,
  • Second Prize: 500 USD + one free FedCSIS'19 conference registration,
  • Third Prize: one free FedCSIS'19 conference registration.

The award ceremony will take place during the FedCSIS'19 conference.

  • Andrzej Janusz, University of Warsaw & eSensei
  • Łukasz Grad, eSensei
  • Marek Grzegorowski, University of Warsaw
  • Piotr Biczyk, QED Software
  • Krzysztof Stencel, University of Warsaw
  • Dominik Ślęzak, University of Warsaw & QED Software

In case of any questions please post on the competition forum or write an email at contact {at} knowledgepit.ml 

This forum is for all users to discuss matters related to the competition. Good manners apply!
  Discussion Author Replies Last post
Data representation used for evaluation Wojciech 1 by Łukasz
Tuesday, May 21, 2019, 11:19:24
502 Bad Gateway Paweł 1 by Andrzej
Thursday, May 16, 2019, 13:49:40
Submission error Henry 2 by Andrzej
Monday, May 13, 2019, 08:09:35
Evaluation SVR Jan Kanty 8 by Dymitr
Tuesday, May 07, 2019, 13:23:45
Baseline solution Jan Kanty 1 by Andrzej
Saturday, April 27, 2019, 11:34:15
Welcome! Andrzej 0 by Andrzej
Wednesday, April 24, 2019, 20:38:55