Research Article

Randomized algorithm: An advanced algorithm for modern video games

Junqi Zhao1,*, Peiyuan Li2
1. Shenzhen College of International Education Shenzhen
2. The Experimental High School Attached to Beijing Normal University

* Corresponding author: [email protected]

Abstract

Nowadays, video games are more and more popular, and the variety of games is also growing. Under intense competition, developers need to make their games replayable without being mediocre. Randomized algorithms would be helpful. The randomized algorithm generally refers to employing randomness to create different possible solutions. This review paper focuses on the use of randomized algorithms in modern video games. It analyzes different types of randomized algorithms, such as Gaussian Randomness and Filtered Randomness. It also outlines their general principles, advantages and disadvantages. Moreover, this paper discusses the applications of randomized algorithms in several mainstream popular types of video games, including Rogue-like, Sandbox, and Multiplayer Online Battle Arena (MOBA) games. This study will contribute to the application of stochastic algorithms in modern video games, but there are still many limitations and further research is needed.

Keywords: Randomness; generation; algorithm; video game
Published: July 26, 2024
DOI: 10.54254/2753-8818/43/20240856
Volume: TNS Vol.43
pp. 168-183
Download PDF

References

  1. J. C. Lagarias, 1993. “Pseudorandom numbers,” Statistical Science, vol. 8, no. 1, pp. 31–39.
  2. S. Rabin, J. Goldblatt, and F. Silva, 2014. “Advanced randomness techniques for game ai: Gaussian randomness, filtered randomness, and Perlin noise,” Game AI Pro, pp. 29–43.
  3. T. Nikolic, 2023. “Algorithms in video games and video game ai,”
  4. W. contributors, 2023. “Randomized algorithm,” Wikipedia, Jul.
  5. J. Bycer, 2015. “Procedural vs. randomly generated content in game design,” Game Developer, Aug/
  6. W. contributors, Jul 2023. “Procedural generation,” Wikipedia.
  7. W. contributors, Jul 2023. “Normal distribution,” Wikipedia.
  8. W. contributors, Dec 2022. “Marsaglia polar method,” Wikipedia.
  9. G. Marsaglia and T. A. Bray, 1964. “A convenient method for generating normal variables,” SIAM review, vol. 6, no. 3, pp. 260–264.
  10. M. Bar-Hillel and W. A. Wagenaar, 1991. “The perception of randomness,” Advances in applied mathematics, vol. 12, no. 4, pp. 428–454.
  11. W. contributors, Jul 2023. “Random walk,” Wikipedia.
  12. J. Manslow, 2017 “Creating the past, present, and future with random walks,” in Game AI Pro 3: Collected Wisdom of Game AI Professionals, pp. 11–20, CRC Press.
  13. P. C. G. W. contributors, Aug 2011. “Drunkard walk,”
  14. A. Koesnaedi and W. Istiono, 2022. “Implementation drunkard’s walk algorithm to generate random level in roguelike games,” International Journal of Multidisciplinary Research and Publications, vol. 5, no. 2, pp. 97–103.
  15. H. Wolverson, 2021. “Hands-on rust: Effective learning through 2d game development and play,” Hands-on Rust, pp. 1–325.
  16. J. Bachiller Cabal, 2018. “Procedural generation of optimized maps for survival video games,”
  17. R. Motwani and P. Raghavan, 1996. “Randomized algorithms,” ACM Computing Surveys (CSUR), vol. 28, no. 1, pp. 33–37.
  18. W. contributors, May 2023. “Simplex noise,” Wikipedia.
  19. W. contributors, May 2023. “Rogue (video game),” Wikipedia.
  20. N. Brewer, 2017 “Computerized dungeons and randomly generated worlds: From rogue to Minecraft [scanning our past],” Proceedings of the IEEE, vol. 105, no. 5, pp. 970–977.
  21. MaiZure, “Decoded: Rogue.”
  22. W. contributors, Jul 2023. “No man’s sky,” Wikipedia.
  23. A. Zucconi, Mar 2023. “The world generation of Minecraft,” Alan Zucconi.
  24. M. Wu, S. Xiong, and H. Iida, 2016. “Fairness mechanism in multiplayer online battle arena games,” in 2016 3rd International Conference on Systems and Informatics (ICSAI), pp. 387–392, IEEE.
  25. Wiki, “Dragon,” League of Legends Wiki. https://leagueoflegends.fandom.com/wiki/Dragon
  26. Xphstakhs, “Everything you need to know about elemental drakes in wild rift - modalities,” Feb 2022. https://mobalytics.gg/blog/wild-rift/everything-you-need-to-know-about-elemental-drakes-in-wild-rift/
  27. Nathan L., August 2018. “Unraveling riot’s critical strike algorithm,” https://www.doranslab.gg/articles/crit-strike-algorithm.html