Ramblings on game analytics

Game Balance: Analytics

#analytics#business-intelligence#strategy

Before I go deeper into analytics topics, it’s important to define what I mean when I talk about metrics and analytics.
Metrics are whatever quantified indicators about game performance such as currently active users, game load time, revenue from sales, etc.
Analytics on the other hand, is the discipline of interpreting metrics to gain insight about the game being analyzed. Looking at a metric doesn’t necessarily tell you much by itself, but once you start combining metrics and calculating KPIs you might find interesting and insightful information about the game. Analytics is concerned in answering the “why” whereas metrics are concerned with “what”.

In game development, especially in large brands, there’s typically more than just the programmers and designers involved. Development teams usually include either a business intelligence or player intelligence team or one more dedicated game analysts whose job it is to support other functions. Indie games might be an exception in this case as indie developers typically have to take over every role in game development but they too should include analytics and put on their analyst hat every now and then. Game analysts concerns themselves with designing what and how gameplay is tracked and derive insights from analyzing collected data. Typically game designers might have some hypotheses in mind that the game analyst will base their tracking design on. Similarly they will analyze the data in order to either disprove or confirm the hypotheses.

F2P analytics

The profitability of free-to-play (F2P) games is challenging to forecast as no money comes through sales. Therefore, one can’t rely on forecasting game sales because there are no game sales. Instead, F2P games rely on ad revenue and in-game purchases, e.g. skins for weapons, new heroes, in-game currency, or other game objects.
When developing a F2P-game, it’s smart to define some KPIs and thresholds for said KPIs that help understand whether the game will eventually become profitable in the future. As development costs are sunken costs and whatever server, license, marketing, development or other costs must be paid, a F2P game is only profitable if it’s revenue is higher than it’s costs (of course…). The difference between costs and revenue will define profits and such profits will have to continue month after month so that the initial sunken costs are covered for - only then does the game become profitable. Therefore, it’s very important to understand how fast the game might become profitable, will it become profitable, or should the game be scrapped and the development studio move on to another project.
When evaluating a F2P game, I consider these KPIs the most crucial:
DAU - Daily active users. How big is your player base on a daily basis?
D1, D3 - Day-1 and Day-3 retention. How many players return to the game?
IR - Install Rate. How many people install the game after visiting it’s store page?
Avg. DAU/Avg. MAU - Stickiness. How many people are highly engaged with the game?
CPI - Cost per Install. How much does it cost to acquire a new user?
CTI - Click-through Rate. How many people click on your ads?

With these metrics you can already estimate whether the game will be a success. If you retention numbers are low, it means the game loop isn’t working or engaging. People don’t return to the game after testing it out. If your CPI or CTI or both are high, it means your either doing something wrong with user acquisition or your game isn’t appealing enough. Maybe it’s the ads themselves or just the general theme or genre of your game.

“Correlation is not causation”

In analytics, this key phrase is often repeated - and rightly so. Correlation does not mean causation and if one misses this logic, one is in danger of making wrong assumptions and decisions. For example, a decrease in retention numbers after a major update might make one think that whatever was updated was bad and should be rolled back. This is not always the case as major updates, especially if combined with major UA campaigns, might bring in a lot of disinterested but curious players who’ll install the game, play it a bit, and churn. Your DAU might see a spike after an update and when the disinterested players churn and DAU stabilizes, retention numbers typically take a hit.
Similarly, if your DAU takes a massive dip after another big and shiny game has been launched, it doesn’t necessarily mean that your players have left you and play the other game now. A dip in DAU might be related to server errors, holidays, or something else. Always dig deeper and don’t rush to explanations.

In order to find out whether correlation is in fact causation, more evidence must be gathered. To do this, one first must hypothesize what is causing what (Changing A causes B) and then test it. For example, you might want to test whether changing a popular items stats causes a certain characters play rate to either increase or decrease, you’ll have to test it out. You could nerf the item and subsequently buff the item and observe whether or not there’s a correlation with the items stats that way.

Metrics in a ranked PvP game

Tracking certain aspects in a PvP game isn’t straight-forward. Let’s say there’s a game with 12 characters. A simple solution to checking whether the is balanced between these characters would be to check the win-rates of each character. Such an estimation doesn’t really tell you actionable insights yet, as looking at win-rates in general without considering player skill will most likely lead to false conclusions. Imagine one of these characters is extremely complex and requires impeccable game state knowledge by the player in order to be effective. A complete novice to the game will most likely fail and decrease the win-rate whereas if played correctly the character is extremely strong, the win-rate might be radically different at a higher level of play.
Therefore, it is important to take into consideration the rank or MMR, match-making rank, when evaluating different game aspects such as characters. It might even be that the game strategies in low-rank play are completely different than in high-rank play, which might effect all of the characters win-rates. Similarly, you might have to dig deeper into how the characters are actually played.

In low-rank play, some characters might be played “wrong” if the game is also dependent to some degree in positional awareness. Such would be the case in e.g. a game that has tank, dps, and healer archetypes. They have roles for a reason and when played in suboptimal fashion, it will most definitely affect win-rates. Coincidentally, in a fighting game a character that has a cool move might be played completely differently in low and high rank games. Captain Falcon comes to mind with his iconic falcon punch in Super Smash Bros. Falcon punch is just one input and temptingly easy to execute, it’s flashy, and satisfying when you land it. Novice players might spam the move desperately trying to land it, ignoring using other moves just to hit that one “cool” move. Therefore, you could dig deep into measuring what moves are executed and in what quantity throughout matches, and how often do those moves actually land. In low-level play falcon punch might be spammed out all the time but it rarely lands, whereas high-level play might see fewer falcon punches but land them more consistently when timed right.

Churn

Measuring churn is extremely important. There are multiple ways to measure churn, some of which are just looking at the inverse of any retention number (D1 40% means that 60% of players churned on D1). But understanding that you might need to measure churn in multiple ways to get a better insight into churn is important. If you only stare at D1, you’ll eventually panic over a 10 percentage unit drop due to some external force. That’s why one way of measuring churn is for example counting a player churned after a period of inactivity, e.g. a week. Some people might not play your game every day, but that does not mean they have churned. A churned player refers to someone who has stopped playing your game. I, for example, play Civ 6 every now and then, but not every day. I don’t consider myself churned even if I’m inactive for 5 days - I will still tell people that I play Civ if they ask what games I play.

Coincidentally, one interesting metric to look at in conjunction with churn is reactivation. After a player has churned (1 week inactivity), if they return to the game, they have reactivated. Reactivation might signal that old players have appreciated a new updated that was rolled out, especially if they now stay in the game and don’t churn again.

Conversion

Free-to-play game developers need to make money as well. Therefore, they must measure the conversion rate of their players, the metric that describes what percentage of players convert to paying users. Similarly, it’s important to look at how revenue is generated, is it a few players spending large amounts or many players spending small amounts. Already understanding how many is being spent tells you what players want or are willing to do. For example, if players aren’t buying your cheaper items but are buying prestige items, is it because the cheaper items are not worth it?

If a F2P game’s conversion rate is low, it will struggle with becoming profitable. To boost conversion rate, it’s important to approach it from multiple angles. Firstly, what kind of audience are funneling into the game? Is the store landing page deterring? Are your ads not enticing? Secondly, do the players know how to purchase something in the game? Was the store flow tutorialized? Is it easy or hard to purchase items? Thirdly, are you offering what the players want or need? Selling something on the store that has no demand will most likely result in minimal sales whereas something that’s seen as valuable and has a high demand will result in multiple sales. Lastly, what’s your price point? Are your items perceived as worth buying? If you are, for example, selling in-game resources for $20 but farming those resources in-game takes only 5 minutes, do players perceive the time-investment more preferable over investing $20?

Boosting conversion rate is not a simple task and will most likely require experimentation with marketing, items, and community management.

Data visualization matters

As you might have noticed, I generally use images to support my text. In this post, I didn’t post any images when explaining concepts. It might be difficult to digest some examples without some image that would immediately make it clear what I’m talking about. This is also the case in analytics, data is much easier to quickly understand when it’s presented in a digestible format. For clarity, look at this table presented below with nothing but dimension, measures, and their respective values. It’s quite hard to quickly see how these characters stack up against each other.

Alfred Beatrix Charlie David Esmeralda Frankie George
Damage 288.4243357 2665.505709 1950.948958 292.0345145 1830.940709 2719.060344 2377.654995
Health 1672.337982 3310.363704 112.2941097 1164.428398 330.9745431 407.6788019 2765.93334
Speed 3492.565105 380.5206933 2404.859232 2871.260143 3587.518702 285.6391726 169.17101
Money 1897.217996 454.3106533 1025.198099 1672.631062 974.2011847 3898.68718 1458.036328
Happiness 3383.582761 1951.117795 1562.816273 1361.755517 1916.37807 1684.149339 1541.865685
Stress 758.2259213 3407.891506 3877.969003 2240.490541 1541.565796 3448.297768 1518.989102
Hunger 380.5119643 687.4192745 3459.985579 3669.364966 1578.945144 1773.9835 2261.800633
Power 343.1301612 340.7173608 2789.332857 429.893118 180.6633486 1118.218422 2491.85059

Random table

Now let’s try visualizing the data by first just highlighting the data. Don’t mind that the numbers a bit different, the table updates all the time with random numbers.

Highlighted table

Now it’s already easier to quickly see where there’s a high or low value. Although, it’s a bit hard to see who has the highest overall stats. Now let’s try visualizing this as a stacked bar graph.

Stacked bar

Now we see that Beatrix and Esmeralda clearly have higher stats than anybody else, and Alfred, Charlie, and Frankie are quite bad in terms of their overall score. In this format, you can see the distribution of different measures and how they affect the total score, but it’s still a bit hard to see. Let’s change it to a stacked bar chart to 100%.

Stacked 100% bar chart

Now it’s easy to see what are the key areas of different characters. Alfred, Charlie, and George have highest scores in Happiness, whereas Frankie is a money maker apparently.

I won’t go further with this example but you can try out different visualizations by generating a random table of data and seeing what visualization gives what kind of insights. I hope this illustrated already the importance of visualization - we aren’t machines after all, so making pretty visualizations helps us tell our stories.

Analytics Plan: Enter the Gungeon

As a thought experiment, let’s progress through the process of making an analytics plan for a chosen game. For the chosen game, we’ve acquired the permission to do a full remake that keeps the core of the game intact but minor tweaks are allowed. For this example I’ve chosen: Enter the Gungeon. It’s a rogue-like that I enjoy very much both from the fast paced action, the art, the soundtrack, and level design. All in all, it’s probably my favorite rogue-like game. So let’s start.

First of all, Enter the Gungeon is in my opinion fairly well balanced as some weapons and combos are meant to be wacky, overpowered, or fairly useless but hilarious. Anyway, we must define some questions that we want answers to so that we can move forward to designing tracking to find the answers for said questions.

Question 1: What are the completion rates for each character?
Question 2: What guns and items are used the most? What are the related win rates?
Question 3: What are the completion rates of each dungeon level?
Question 4: How long does one game loop take?

This list of questions isn’t exhaustive but it’s a start. Such questions could be asked in a discussion between game analysts and game designers when approaching balancing issues. Next we’ll design some metrics around these questions.

Metric How is it collected What is its purpose Related question(s)
Character pick count Playtesting - count of how many times a character was picked Measure popularity of a character Q1
Characters available Playtesting - what characters were available for the player when they made their choice Clarify if characters pick rate is low because it was locked Q1
Character pick rate Calculate Character pick count divided by games played where the character was available Reflect how popular a character is Q1
Sum of time for gun used Playtesting - get sum of time when gun was equipped Measure what amount of playtime the gun is equipped Q2
Sum of gun bullets used Playtesting - how many bullets were fired by the gun Helps in calculation of gun popularity and usage Q2
Gun fire rate Calculate gun bullets used divided by guns clip size Tells how many times over did the player fire the gun Q2
Gun/Item purchase count How often was a gun or item purchased when presented as an option at a store Measures popularity of a gun/item Q2
Gun win rate Calculate win rate of games where the player had the gun and used it (requires threshold for usage e.g. 3 clips emptied) Measures gun usage win rate Q2
Dungeon completion rate Playtesting - calculate dungeon completed divided by total numbers of game loops played Indicates the difficulty of said dungeon level Q3
Rooms cleared per dungeon Playtesting - sum of all rooms cleared on a dungeon level Helps calculate average room clear rates for dungeon levels Q3
Average rooms cleared per dungeon level Calculate Rooms cleared per all games played that reached that level Helps understand how players on average behave in a dungeon Q3
Gametime until death/completion The time it took for the player to start the run and finish it Helps understand game loop better Q4

Metrics for Enter the Gungeon

Again, this is not an exhaustive list just like the questions weren’t, but it’s a start. With these metrics, I’d already be able to assess and understand how players play the game and even make some informed decisions about enemy toughness, the amount of enemies, and character, gun, and item balance. The next step in this process would be to design how we would conduct our analysis.

I’m proficient in Tableau so my way of producing analysis is to gather lots of data, spin it through some aggregations, and compile dashboards with Tableau. The main question in making a dashboard is how to present the data and what insights can be derived from the visualizations. Let’s start with character pick rates. There are eight different playable characters in Enter the Gungeon so I’d present that as two separate visualizations - an absolute number of picks as a bar chart and a percentage of total (a bar, pie, donut, or treemap would all be ok). Additionally, I’d present both of these over time as well. Either as a line chart or area chart to give an idea about how the picks have changed over time as something might get updated. Here’s how a line chart over time would look like:

Absolute picks over time

And here’s absolute picks in a bar chart

Absolute picks in bar chart

We can already see from both of these that Convict and Bullet are the most popular and actually quite close to the same popularity. Now for the pick rate as a percent of total, we could use for example a pie chart:

Pick count rate

There we go. We can see how the character picks have changed over time, and we can deduce their popularity a bit. A similar process can be done for items and guns but you need to be careful with overwhelming the charts with too much info. Already the pick count rate -pie chart is something I dislike a bit because there are 8 colors. I prefer using any other chart when there are more than 4 different colors.

Actually, these types of charts can be used for all metrics. It’s usually always good to have a view on how the values have developed over time as taking an average or even a median might not be representative of the insights a designer wants to have. One step that you should still consider after creating the visualizations is the creation of a dashboard. You want the dashboard to gather the separate visualizations into on view so that one doesn’t have to flicker between visualizations. Similarly, dashboards especially in Tableau are powerful as you can allow data filtering by multiple aspects. For example, we could add a country filter to the data if the data collected included a country code. Throw visualizations together and think about who the dashboard is for. Is it for someone technical who wants to go into the nitty-gritty or is it someone who just wants a top-level view and general knowledge about the game? This affects what you present and how. Here’s all the visualizations thrown together.

But what do you do with this? Well, first of all the over time visualization give us a rough understanding of where each characters popularity and pick rates lie. If you see sudden spikes either up or down, you could start to investigate firstly, was there an update released that affected it, or secondly, is there some exploit somebody uncovered, or thirdly, something else changed that affected the popularity?

Analytics Plan: Unmatched with Fatigue

Back after a year… Might have lost sight on some things but I’ll try my best to pick up where I left off.

Playtesting, iterating, and finishing up on the proposed expansion for Unmatched, mainly just trying out the fatigue mechanic. In order to start playtesting and iterating on the design and supporting math, I’ll first need to come up with an analytics plan.

First and foremost, I’ll need to define some questions that I’ll try to find answers to. There are two questions that stand out for me is:
1. Does it make the more fun?
2. Does it make the game more balanced?

These are question that can’t be answered with a simple metric as there is no universal “fun” metric that can be tracked - it’s a combination of things that indirectly might give you a glimpse into how enjoyable the game is. So, let’s be a bit more precise with the questions and try to relate them to the bigger ones above.
Q1: Do players want to play with the mechanic?
Q2: How are the win rates between characters?
Q3: How long do matches take?

Metric How is it collected What is its purpose Related question(s)
Avg. Number of games played per player overall Playtesting, count of games played by players divided by distinct players Indicate the propensity for players to play multiple games Q1
Avg. Number of games per session Playtesting, count of games per how many play sessions have been Do players feel like playing multiple games in one sitting Q1
% proportion of games played with fatigue Playtesting, allow players to either play with or without fatigue Is the fatigue mechanic interesting and fun to play with Q1
Character pick rates Number of times a character was picked Popularity over time, do players maybe see one or some character being better Q2
Characters available What character choices were presented to the players Clarify if characters pick rate is low because it was unavailable Q2
Win rate distribution against different characters Look at win rates between all characters and check how wide of a distribution there is See if fatigue introduces over- or underpowered heroes. A range of 40-60% is better than 10-90% Q2
Match duration Time it took from starting to play to finishing a game Understand if game length is going too long or too short, ideal ~20 minutes Q3
Match ended with empty decks How many games ended with one or both players having empty decks Is the game too grindy for 30 cards Q3
Match ended in death by empty deck How many games ended with just dying due to no cards Same as above Q3
Distribution of actions taken Count the number of time players take different actions See how the gameplay changes, is it more tactical or just a slugfest Q3

Metrics for “Fatigue” for Unmatched

This plan is already somewhat sufficient to start seeing cracks in the system although typically new questions might arise during playtesting that then need to be taken into account. The idea here is to go over the numbers of the initial playtests, see if it matches up with what the goal of the whole thing was, and iterate by revisiting the supporting math and design. This is a repeatable process which I have not yet done but plan to. I’ll probably get this plan rolling early next year.