A Quantum Adaptation to Roll Truly Random Dice in Role Playing Games

Antonio Costantino Marceddu, Nicola Dilillo, Marco Russo, Renato Ferrero, Bartolomeo Montrucchio · 2023

In role-playing games (RPGs), players are called upon to assume the role of a character moving in an imaginary environment and facing several challenges. Their success or failure often depends on randomizers like cards or dice. Regarding the latter, the most commonly used in RPGs are the Platonic solids with the addition of the ten-sided die. They are commonly simulated through classical computers, however, since true randomness is not in their nature, they can only generate pseudorandom numbers. On the contrary, quantum computers exploit the nondeterministic nature of quantum mechanics, so they are perfect candidates for truly random simulations in games of chance. For this reason, this paper proposes and tests various quantum circuits for sampling uniformly distributed discrete values within a fixed range, corresponding to the number of faces of the dice. The simulations reveal the pure randomness of the output of the implemented circuits. They were then used to generate random numbers within a three-dimensional dice-rolling game.

Read the paper · More papers on PaperTik