Randomization

 

What is Randomization? 

Randomization is the process of making something random.

However, nothing is truly random. When creating something “random” it is made by either;


  1. Generating the number from scratch, in this case the output is the random number created.

Or 

  1. Starting with an input, then put it through an algorithm, generating a “random” number as the output from the input. 


The algorithms used in the example are just patterns that are made to seem random, because there is always a pattern to any form of “randomness”.


Older video games used various methods and formulae because the “random” function that is now generally used to create randomness within the code of a program didn’t exist yet, so games had to come up with their own solutions to this problem.


Dice are another way of creating random numbers, when rolled they give you a number which is displayed on the top of the die. These are often used in TableTop Role-Playing Games and board games, which are both based around the output of the dice. Dice are a unique part of Random Number Generation because they’re hard to emulate, especially in video games because when you go to roll a die, you don’t know what number will ultimately be displayed on the top, whereas in a game, most of the tension from the rolling of the die is taken away, and you are presented with a random number in an instant.


These concepts can be applied to any game, and will hopefully expand your knowledge on randomization, and how important it can be in games.


Happy developing!


Comments