What is random? The vicissitudes of fate

The concept of randomness is widely used in the computer field. It can be both games, and programming, system administration, and many other aspects of human-computer interaction. But what is random? What does this mean?

Origin

The concept of randomness came to us, like most borrowed words, from the English language (from "random" - "random"). In a broader sense, this concept is used to denote not only any random event, but also for the process itself - randomize. That is, the generation of some random event, inscription, number ... Anything.

It is known that any Anglicisms and borrowed words easily take root among young people. So random became one of the concepts that went into the slang of computer players, and you can meet it most often in this area. What is gamers random?

what is random

Games

Anyone who is at least somewhat familiar with online games knows that everything that happens in them is affected, oddly enough, by chance. Many people try to look for patterns in them, but there is no one to blame except the so-called randomness. It is enough to give a few examples of what is random in action, and everything becomes clear:

  1. Characteristics of the characters. This is perhaps the most obvious thing. In many online RPGs, there is such a character parameter as dexterity. And in most cases, he is responsible for the chance of a critical hit. Let's say it is 25%. That is, every fourth blow of the character must be strengthened ... But now you hit for the tenth time, and the โ€œcritโ€ does not work. Why? The random is to blame. Or in Russian - an accident. You have a 25% chance, but each time it is calculated again and previous attempts are not taken into account.
  2. Chests, loot, reward. When killing various monsters, bosses, while receiving prizes for participating in events and tasks, the case also works. What is random in a similar situation? This is a chance to get a certain item among others. For example, it is 5%. You buy 20 chests for real money during the promotion and think that you are lucky with at least one. But no. The chance is also calculated from scratch. And you buy at least 100 chests, you canโ€™t get anything. And as always, to blame.
  3. Random battles. Many games use a match system. In them, random also plays an important role. He distributes the players into teams, selects a map, issues roles ...

Anyone who has encountered a manifestation of randomness knows that this does not lead to anything good.

random battles

Negative

Of course, random - this is the kind of thing that is most often talked about in a negative way. Why it happens? Because while all is well, no one will remember that all actions in a computer game are random.

For example, a random game is launched in Prime World. Opponents are randomly divided into teams. They donโ€™t even know with whom they will fight. And what happens? One team is composed of weak beginners with bad characters, and the other is from dressed tops. Why? Blame, of course, random.

You hone your gear in Perfect World. However, it is not possible to raise the value higher than +3. And someone calmly trades +6 simply because he is more lucky. Who's guilty? Of course, WRC is a great Chinese random.

Are you fighting a weaker opponent? And he takes and kills you. Are you just an inept player? Or, perhaps, because you do not have critical hits (with a 25/100 chance), and the opponent has every second one with a 10/100 chance. Random - he's so random!

It is clear that with such values, randomness can cause players only negative associations.

random game

Work

What is random performance? Many people who love computer games transfer this concept from virtuality to the workspace. For example, in Microsoft Excel there is such a function as RAND (). This is random in its purest form. The function returns a random number in the range from 0 to 1.

So it is in programming. Functions for generating random events are used everywhere in the development of applications, as well as for setting variables with a variable value, for the possibility of calculating the result for different source data.

In general, any area in which it is necessary to randomly arrange data or objects can use the concept of randomness. It all depends on the person who describes the event, action, and on his vocabulary.

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


All Articles