Ramblings on game analytics

Game Data Science: An introduction

I’ve recently started to expand on studying games user research (GUR) as well as dive deeper into game data science on top of game balance. Therefore, I picked up Game Data Science as a great source. I’ll be writing posts on the exercise sections from it. I should first start with something obvious: definitions.

Definitions

Telemetry data - Data collected and stored from afar by a system that transmits it.
Game metrics - Interpretable, quantitative measures of in-game attributes.
Key Performance Indicators (KPIs) - Strategically selected metrics to demonstrate whether some contextual objective has been achieved.

What is game data science?

Game data science is the cross-disciplinary application of practices, techniques, and methods to the specific context of games to support decision-making. As the game industry has continued to evolve from offline one-off games as products to games as a service, so too has the supporting functions and areas around game development. Game data science is one of these areas that have evolved into an integral part in successful game development. From social network analysis to performance metrics, lots of data can be and is collected throughout a game development cycle to improve the user experience and financial gain of the developer. Game data science has much to offer, from designers being able make informed decisions to tweak the meta of a competitive game to allowing quality control to rely on passive validation rather than manual testing.

Collecting data example: Frostpunk

Frostpunk is a city and resource managing game where you try to survive against harsh conditions and internal conflicts. I won’t go into details about how it plays out completely so if you want to learn more, try looking up gameplay videos. Note: I am not involved in the development of Frostpunk.
So what to track from the game in order to measure it’s success? The game revolves a lot around the economy of resources and the race against some objective: the weather or some deadline. Once the designer has chosen how much time the player has to reach the objective, they can design the economy. So to track that it works, all resources should be tracked. Whenever the players gains, spends, or loses any resource. Then, the completion rate of all players. Did they finish the game or did they fail? When did they succeed or fail? What was the temperature? What laws did they enact? What research, if any, did they do? There’s many more questions that can be asked about the game and relevant tracking signals and attributes could be created but these are in my opinion the most relevant. If you find answers to these questions, I argue that the game can be sufficiently modified to provide the right level of challenge. If many players finish the game very fast and there’s a clear pattern of what research they did, then it could be tweaked to be more expensive or have more prerequisites before getting that research done. You could also create custom events that would require attention and force players to address other issues as well. Furthermore, session length is important to see how engaged players are. If game sessions are extremely short, is the game boring?

Inductive vs. deductive reasoning

To understand and articulate the use of game data science better, one must understand the difference between inductive and deductive reasoning. Inductive reasoning has an element of probability baked into it. For example, if 8 out of 10 players succeeding to finish the game of Frostpunk research faster sleds as fast as possible, you could induce that faster sleds greatly improve winning chances. The example is a bit lacking but you get the gist. Deductive reasoning has universal laws that are used to deduce something. For example, a universal law could be that “All female players make 1 microtransaction per month” –> Sally is a female player –> Sally will make 1 microtransaction per month.
Player profiling is a standard practice and it could be classified as a deductive practice. Profiling involves analyzing the evidence present, age, gender, education, occupation, income, etc., and deducing that this player belongs to a certain profile.

Event tracking for Unmatched

Just as an example, I wanted to design an event tracking system for a board game. Here’s a small list of events, signals, and attributes that I would track during the game in order to analyze it better.

Attributes to be tracked in some way
healthMax - Character’s max health
healthCurrent - Current health of character
moveDefault - Character’s default max movement
cardsInHand - How many cards are currently in the hand of the player
cardsPlayedTotal
- How many cards the player has played in total
cardType1 - How many type 1 cards they played
cardType2 - How many type 2 cards they played
cardType3 - How many type 3 cards they played
cardType4 - How many type 4 cards they played
moveTotal - How much the player has moved in total
actionName - Attack, Scheme, Maneuver, Boost… what did they do
actionId - The ID of the action
cardId - ID of card that was played
opponentHealth - How much health does the opponent still have
opponentCardsInHand - How many cards does the opponent have in hand
deckLeft - How many cards left in own deck
opponentDeckLeft - How many cards left in opponent’s deck
mapId - What map is being played
gameResult - Who won
movePath - An array of the movement the player did
distanceToOpponent - The shortest path to the opponent after ending movement
zoneSelf - What zone is the character in
zoneOpponent - What zone is the character on
tileIdOwn - What tile is the character on
tileIdOpponent - What tile is the opponent on
characterId - What character is being played
opponentId - What character is the opponent playing

Such attributes already give a lot of options for analyzing multiple aspects of the game. Not all attributes should be sent with every tracking event but the points of interest should be identified and relevant attributes should be sent then. Such points of interest might be when a card is played, when the game starts or ends, when the player moves their character, attacks the opponent, etc. There’s so many possibilities for tracking. This just gets more complicated with larger games that present even more possibilities to track everything from server metrics to player progression in minute detail.

Steam and Facebook

Steam and Facebook have had a major impact on game development and therefore game data science. Steam revolutionized game distribution, allowing developers to publish their games purely on their platform without requiring any physical medium for distribution. It also allowed developers to reach a wider audience since distribution might be a problem logistically to get the game to every part of the world. Furthermore, Steam has allowed to some degree to apply social network analysis via data mining. Same goes for Facebook, although it emphasized and supercharged the social aspect of games. As a social media platform, Facebook allowed players to send invitations to their non-playing friends and convince them to play games available on the platform. A lot of game design was concentrated on utilizing these social aspects to entice new players by introducing resource scarcity or the necessity of getting a certain resource by only gifting. This motivated players to invite friends and family to join the game and send gifts. Facebook is therefore a valuable source for social game data science and allows conducting social network analysis on massive communities.