This content has been automatically translated from Ukrainian.
RNG (short for Random Number Generator) is a generator of random numbers, which video games use to determine the outcomes of events that have a random component. The RNG can affect the drop of rare items, the probability of a critical hit, the appearance of enemies, the characteristics of equipment, and even the structure of the game world.
In gamer slang, the abbreviation RNG is also used in a broader sense to denote randomness in games and situations where the outcome depends on luck rather than just the player's skill.
What is RNG in simple terms
RNG can be compared to a virtual dice. When a player needs to determine the outcome of a certain action in a board game, they roll the dice. In video games, a similar function is performed by the random number generator.
For example, after defeating a boss, a player may receive a common, rare, or legendary item. Which specific item drops is determined by the game system using RNG and the rules set by the developers.
That is why two players who completed the same task under the same conditions may receive completely different rewards.
RNG adds an element of unpredictability to the gameplay, which means that even familiar situations can develop differently.
What does RNG stand for
The abbreviation RNG consists of three English words:
- Random — random;
- Number — number;
- Generator — generator.
Literally, Random Number Generator translates to "generator of random numbers." The abbreviation RNG is also used for the phrase Random Number Generation — the generation of random numbers.
In the Ukrainian gaming community, both the original spelling RNG and its colloquial form "er-en-gee" can be found.
How RNG works in video games
The random number generator creates numerical values that the game uses to determine certain outcomes.
Let's assume the developers set the following probabilities for receiving a reward after defeating a boss:
- 70% — common item;
- 20% — rare item;
- 9% — epic item;
- 1% — legendary item.
In a simplified model, the game generates a random integer from 1 to 100. If the number falls between 1 and 70, the player receives a common item; from 71 to 90 — a rare item; from 91 to 99 — an epic item; and if it falls on 100 — a legendary item.
This is a conditional example of how a loot table works, which is also called a loot table. In real games, such systems can be much more complex and take into account the character's level, task difficulty, enemy characteristics, and other parameters.
It is important to understand that RNG does not set probabilities on its own. It only generates values, while game algorithms determine how to use them.
Where RNG is used in games
Randomness is present in many game genres, although players do not always notice it.
Item and reward drops
One of the most common examples of RNG is receiving loot after defeating enemies, opening chests, or completing quests.
Not only the items themselves but also their characteristics, rarity, additional effects, and quantities can be determined randomly.
Such mechanics are characteristic, in particular, for the Diablo series, Path of Exile, and World of Warcraft.
Combat mechanics
In some games, RNG affects the probability of a critical hit, evasion, hit accuracy, attack blocking, or activation of an additional effect.
For example, a character may have a 25% chance to deal a critical hit. In a simple model of independent random events, this means that each relevant attack has a one in four chance of being critical.
However, this does not guarantee that exactly every fourth attack will be critical.
Procedural generation of game worlds
RNG is also used in the procedural generation of maps, dungeons, resources, and other elements of the game environment.
A well-known example is Minecraft, where world generation depends on a seed value. Based on this, algorithms shape the landscape, the location of biomes, structures, and other features of the world.
Randomness combined with procedural generation allows for the creation of a vast number of variations of the game environment without the need to manually design each map.
Card games
In digital card games, RNG can determine the order of cards in a deck, random effects, target selection, or the drawing of new cards.
For example, in Hearthstone and Slay the Spire, randomness is an important part of the gameplay, and the ability to adapt to unpredictable circumstances affects the outcome of the match.
Roguelike and roguelite
In games of these genres, randomness helps make each new run different from the previous one.
In Hades, The Binding of Isaac, and Dead Cells, available items, rewards, upgrades, ability combinations, or the layout of individual locations can change.
The player gradually learns the rules of the game but does not always know what specific opportunities will arise during the next run.
Is RNG really random
Most common game mechanics use pseudo-random number generators — PRNG (Pseudo-Random Number Generator).
This type of generator operates based on a mathematical algorithm that creates a sequence of numbers with properties similar to randomness.
The initial value that the generator's operation depends on is called seed. If the same algorithm, the same seed, and the same sequence of generator calls are used, the same numerical results can be reproduced.
This feature is useful for game developers, as it allows them to recreate certain situations during testing, and in some games, share parameters of generated worlds or runs with other players.
For most players, the difference between true randomness and pseudo-randomness during regular gameplay is virtually imperceptible.
Why an item with a 1% drop chance might not drop after 100 attempts
One of the most common misconceptions about RNG is that players perceive probability as a guarantee of outcome.
If an item has a 1% drop chance, it does not mean that it will definitely drop within a hundred attempts.
Assuming all attempts are independent and the probability remains unchanged, the chance of getting at least one such item will be approximately:
- for 10 attempts — 9.6%;
- for 50 attempts — 39.5%;
- for 100 attempts — 63.4%;
- for 200 attempts — 86.6%;
- for 500 attempts — 99.3%.
Thus, even after a hundred attempts, there remains approximately a 36.6% probability of not receiving the desired item at all.
The false belief that after a long series of failures, the next attempt must necessarily be successful is called the gambler's fallacy.
A regular random number generator is not obliged to compensate for previous unsuccessful results. However, developers may intentionally design such compensation into the game rules.
What is controlled RNG and pity system
Not all game mechanics use independent random events with unchanged probabilities. Sometimes developers deliberately limit randomness to avoid excessively long series of failures or to create a more comfortable gaming experience.
One such mechanism is the pity system — a system that increases the probability of receiving a rare reward or guarantees a reward of a certain rarity after a certain number of unsuccessful attempts.
There are also other ways to control randomness. For example, a game may first shuffle a set of elements and then distribute them one by one without repetitions until the set is exhausted.
Such mechanics maintain an element of unpredictability but reduce the risk of extremely unlucky or extremely lucky sequences of outcomes.
What does good and bad RNG mean
In gamer slang, you often hear the phrases good RNG and bad RNG.
Good RNG means that random events have favored the player. For example, they received a rare item on the first attempt or managed to get a particularly advantageous combination of abilities.
Bad RNG is the opposite situation, where random results hinder achieving the desired goal.
However, the phrase "bad RNG" does not necessarily mean that the generator is malfunctioning. Most often, the player is simply dissatisfied with the outcome.
Who is RNGesus
RNGesus is a humorous term formed by combining the abbreviation RNG and the English name Jesus.
In gamer culture, RNGesus embodies randomness, luck, and unpredictable game outcomes. It is a kind of fictional deity, whose favor supposedly determines the drop of rare items or the success of a certain action.
Players jokingly ask RNGesus to grant them good loot, thank him for incredible luck, or blame him for another failure.
The phrase Praise RNGesus! can be found in game chats, memes, forums, and during streams.
What is RNG manipulation
RNG manipulation is the act of manipulating the random number generator or the game conditions on which its operation depends to achieve a desired outcome.
This term is particularly well-known among speedrunners — players who try to complete a game in the shortest time possible.
In some games, the state of the generator depends on time, the sequence of player actions, or other predictable parameters. Knowing the specifics of a particular game, it is sometimes possible to reproduce favorable random events.
RNG manipulation is not always cheating. The acceptability of such techniques depends on the rules of the game, the competition, and the specific category of speedrun.
How RNG differs from random and randomizer
These three concepts are closely related but have different meanings.
Random is a general term for randomness or a random outcome.
Randomizer is a tool that makes a random selection, shuffles elements, or changes their characteristics.
RNG is a random number generator that can underlie the operation of a randomizer and various game mechanics.
For example, in a game, an item that drops from a chest is determined randomly. The randomness itself is referred to by the player as random, while the game uses RNG to obtain the numerical value needed to determine the reward.
Is RNG needed in video games
Randomness can both enhance the gaming experience and make it extremely frustrating. It all depends on how well the developers have integrated it into the game mechanics.
In adventure games, RPGs, and roguelites, randomness increases replayability, creates unexpected situations, and forces players to seek new strategies. In competitive games, excessive reliance on RNG can, on the contrary, diminish the importance of player skill.
Also interesting is the moment when randomness occurs. One thing is to receive a random set of items and then decide how to use them. Quite another is to carefully plan your actions and lose due to an unfortunate random outcome.
In the first case, RNG creates conditions that need to be adapted to, while in the second, it affects the outcome of a decision already made.
It is this balance between randomness, skill, and the ability to control the situation that largely determines whether players perceive RNG as an interesting mechanic or as an unfair obstacle.
Like it?React
🧵
This post doesn't have any additions from the author yet.