The etymology of chance refers us to azzahr, a word from Hispanic Arabic. The concept is used with reference to luck, fortune or chance. For example: “Chance was on our side and the draw favored us”, “This is a game of chance where the ability of the participant does not influence”, “Everything I have achieved in life was thanks to effort: there are no achievements by chance ”.
The last example serves to expose the negative character that chance has for some people, if in it they see the lack of commitment or action in life. On the other hand, many believe that success depends to some degree on luck, which must be combined with due effort, so that neither extreme is ideal.
It is known as an entertainment game of chance in which achieving a victory or suffering a defeat depends on fortuitous circumstances that exceed the player’s ability. This means that there is no tactic that enhances the chances of victory, since it is linked to luck.
The gambling are a typical example of gambling. In these cases, the result is related to statistical probabilities that a certain number or a combination will be drawn. A person can bet 100 dollars on the roulette wheel on the number 23: chance will determine whether or not that number comes out. The player has no chance of influencing this result, and this often leads to frustration that can lead to a vice; If it were a technical discipline, failure could lead to a greater commitment to training to improve results.
In other games, chance is combined with the ability of the individual. This is the case of the trick, a very popular card game in South America and in certain regions of Spain. Chance determines which cards (cards) the player receives in each hand; then, it is the player who must use his ability to prevail against his rival.
The concept of chance is analyzed in various sciences and disciplines. It is generally associated with the idea of randomness: that whose outcome cannot be predicted. In other words, the outcome of a random process cannot be determined before it occurs because chance is involved. Through statistics, however, it is possible to anticipate the probabilities of obtaining a certain result.
In the field of computer programming, chance plays a very important role in ensuring that programs behave with a certain degree of spontaneity. Human beings do not know the true nature of the events that they consider to be random: just as we cannot affirm with total conviction how the universe originated and – much more precisely – our own existence, we also do not know if there really are unpredictable events or if it is our own perception that we consider them that way.
Given this lack of understanding of the randomness of nature, it is logical that we are not able to reproduce it through technology either. In this way, the processors are capable of throwing values that simulate chance, even if they do so in a completely different and – needless to say – artificial way.
According to DigoPaul, chance in programming has a large number of applications. In a video game, for example, we can use it so that a different number of enemies appear in each game, and that they are not always of the same class. In a rain simulation, on the other hand, we can achieve that the drops always have different sizes and orientations, and that the density of the clouds and the intensity of the wind also vary in each execution.