⬆️ ⬇️

Clash of Clans - mechanisms for monetizing game time

image

In Clash of Clans (supercell multiplayer game from Supercell), players can accelerate various actions, such as erecting buildings, upgrading and training troops with the help of gems that are acquired for real money. In other words, the developers earn on the impatience of the players, which is in general all multiplayer games, where you need to build something.



That's why we decided to study the work of the formulas that control the game mechanics, and find out what the price of time in CoC is.



Let's start by comparing several graphs.



This line graph shows the cost of skipping a particular period of time in gems. More time - more gems, nothing surprising.

')

But there is a trick here. It seems that the price is growing exponentially, but this is not the case at all! This is because the difference between 60 seconds (1 minute) and 604800 seconds (1 week) is too great. Time grows exponentially, and this distorts the data.



image



The scatterplot gives a more reliable picture. A uniform scale was chosen on the horizontal axis, but in the lower left corner the graph is difficult enough for interpretation. The points are too close to be distinguished.



image



Let's try another way of presenting data. We will understand them as the cost of skipping 1 second. The more time you miss, the more you pay, but the deal becomes more profitable. You can take it as a growing discount.



image



Testing has shown that such a graph consists of several line segments and is not an approximation of a curvilinear graph. Later this will be explained in more detail.



image



Now we turn to the formulas.



To begin with, we will collect the prices of interest to us in a table, and then we will show how to calculate any other price using linear interpolation.



TimeTime in secondsPrice in gems
0 seconds00
1 secondoneone
1 minute60one
1 hour3,60020
1 day86,400260
Week 1608,8001,000


A very elegant system: splitting prices in accordance with the time intervals that are significant for people (hour / day / week) makes it very understandable. It is easy for everyone to imagine what it means to wait, for example, one day. In addition, this system is very easily reconfigured - if it is subsequently decided to increase the cost of one day, it is enough to change only one value.



And the most interesting thing about using a line segment chart is the ability to set and use specific price points.



Let us turn to the formula, the schedule of which we can build.



Let's start with a simple formula for constructing a straight line equation:



image



From here we obtain the equation of a straight line connecting two points. image and image .



image



image , on the horizontal axis - time image , on the vertical axis - gems.



Now we can calculate the function values. Based on the Clash of Clans data, suppose that 1 hour (3600 seconds) costs 20 gems, and 1 day (86400 seconds) - 260 gems. You can define a function for this line segment.



image



With its help, you can calculate the cost of any period of time in the range from 1 hour to 1 day. For example, to find out the cost of skipping 4 hours, we substitute image and get image .



All formulas for individual line segments can be combined into one large piecewise defined function.



image



This is the formula for transferring gems to time used in CoC.



To use excel, copy this long formula into cell B1. After that, enter time in seconds in cell A1, and the value in gems will appear in cell B1.



= ROUND (IF ($ A $ 2 = 0; 0; IF ($ A $ 2 <= 60; 1; IF ($ A $ 2 <= 3600; ((20-1) / (3600-60)) * ($ A $ 2-60) +1; IF ($ A $ 2 <= 86400; ((260-20) / (86400-3600)) * ($ A $ 2-3600) +20; ((1000-260) / (604800- 86400)) * ($ A $ 2-86400) +260)))); 0)



Try a visual demo. Double click on the time to change it, and the cost in gems will change.



Now let's talk about how this affects real money.



Before that, we operated only with the in-game currency Clash of Clans - gems. But they are purchased in the store for real money, so that the price can be specified in them. Here is the Supercell price for gems.

GemsPriceGems for ££ per heme
500£ 2.99167£ 0.0060
1,200£ 6.99172£ 0.0058
2,500£ 13.99179£ 0.0056
14,000£ 69.99200£ 0.0050


The more you buy, the lower the price of one heme, but we'll talk about these discounts later. In the meantime, we resort to simplification and we will use the average price: £ 0.0055 per heme.



This is very useful, as it helps to use the above formula for determining prices in real money. The Supercell decided that a one-day pass at CoC would cost £ 1.43, and a one-week pass would be £ 5.49. If you need to change the price of 1 day, for example, at £ 2.00, it is enough to change this value, and all the rest will change automatically. This is a very convenient and reasonable way to control the monetization of the game.



Discounts



Buying gems



The sizes of the sets of gems are set in advance. So, you cannot buy 501 gems and must purchase either a set of 500 gems, or a set of 1200. Nevertheless, it seemed to us interesting to present this in the form of a graph.



image



At first glance, this is not very noticeable, but with an increase in the number of hemes, the line becomes flatter. Supercell gives a discount if you buy more.

GemsPriceGems for ££ per hemeA discount
500£ 2.99167£ 0.00600.0%
1,200£ 6.99172£ 0.00582.6%
2,500£ 13.99179£ 0.00566.4%
14,000£ 69.99200£ 0.005016.4%


When you buy a set of 14,000 gems, you save 16.4% compared to the price of a set of 500 gems.



Time pass



If we compare the discount on the purchase of gems with the discount on time skipping, it becomes obvious that the discount on skipping a larger period of time is significantly higher than the discount on the purchase of a larger set of gems.



image



When you skip a week, you save as much as 90.1% compared to a 1 minute pass.

TimeTime in secondsPrice in gemsPrice (gems ​​/ sec)Average price (£)A discount
0 seconds000.0000£ 0.0000-
1 secondoneone0.0167£ 0.0055-
1 minute60one0.0167£ 0.00550.0%
1 hour3,600200.0056£ 0.109866.7%
1 day86,4002600.0030£ 1.427381.9%
Week 1608,8001,0000.0017£ 5.489690.1%


It is also important to note that the difference in discount between 1 minute and 1 hour is 66.7%, and between 1 hour and 1 week only 23.4%. Instead of considering the intervals longer than 1 day to be cheap, it is wiser to consider small intervals of 1-59 minutes too expensive. Why it happens? We do not have a definitive answer ... we can assume that only the most impatient players, who are also the most inclined to spend money, will want to miss such short periods of time. Perhaps there is some price discrimination. Anyway, we have no final answer, and we will be glad to any comments that can help!



Discount discounts



If you buy gems and then spend them on skipping time, discounts are summed up.



The most disadvantageous deal is to buy 500 gems for £ 2.99 and spend them on skipping one minute. For every second you missed, you pay £ 0.000100.



The best deal is to buy 14,000 gems for £ 69.99 and skip 1 week. For every second you missed, you pay £ 0.000008.



The price difference will be 91.7%.

Worst dealBest deal
£ per heme£ 0.006£ 0.005
Price in gemsone1,000
Price in ££ 0.006£ 5
Seconds60604,800Difference
Price in £ per second£ 0.000100£ 0.00000891.7%


The power of discounts



Perhaps the price per second seems insignificant to you, but when it comes to 604800 seconds, these small values ​​add up. So, if you paid for a 1 week pass at the same rate as a 1 minute pass, you would pay £ 60 instead of £ 5 !!!



A big discount on skipping long periods of time is very useful. Without it, prices would very quickly become too high, and no one would make purchases.



Probably, Supercell understood this well. They needed a way to give users a substantial discount on skipping large intervals, and so that the system was easy to set up. A linearly segmented graph was an excellent solution to this issue.



Finally, let's look at alternative solutions.



There are other ways to solve the problem. Having examined them, we will get a better idea of ​​the pros and cons of the chosen method.



Line graph



Our first idea was to use simple line graphics. In this case, we would have a simple exchange rate, just like currencies in the real world.



image



The use of such a concept is possible, but the price of a day’s pass will fall by 61.5% from 260 to 100 gems. And if we want to keep this price at the same level, the schedule will go steeper, and the pass price of 1 week will increase too.



This mechanism allows adjustment only by 2 points. Otherwise — which was probably considered in the Supercell — several line segments are needed. In theory, it is possible to tune more points. So, if it were necessary to change the price of a 2 day pass, it would be enough just to add another line segment.



Curved graph



Why not use a smooth curve? For example, an exponential, quadratic function or a Bezier curve?



image



Everything looks very neat and smooth, but it is difficult to adjust. Working with formulas requires too much effort. We spent a lot of time on this, and therefore we do not advise you to try it yourself.



Conclusion



Clash of Clans has a very elegant way to monetize time passes. It is difficult to offer a more convenient system.



As a result:



Have feedback, questions or comments? Leave a comment!  



This article is the result of the game in CoC and additional research. As far as we can judge, the data are accurate, and all graphs and calculations have been carefully checked. Nevertheless, the probability of error always remains, and in addition, the game itself may have changed since the publication of this article. We cannot give an absolute guarantee, so use the results at your own risk. If you find an error, please contact us.

Source: https://habr.com/ru/post/221117/



All Articles