Soft Computing

, Volume 21, Issue 23, pp 7005–7020 | Cite as

Procedural generation of non-player characters in massively multiplayer online strategy games

  • André Siqueira Ruela
  • Frederico Gadelha Guimarães
Methodologies and Application
  • 171 Downloads

Abstract

This paper presents a coevolutionary framework for procedural generation of NPCs in MMORTS games. In this context, players need to defeat environmental troops in battle to gather resources and achieve their goals. The benchmarked game has several balance problems related to these battle activities, mostly caused by the handcraft design of complex game content. To solve this problem, the algorithm takes player modeled heroes as input and returns a solution evolved to win. By this way, the players need to think better in a new way to conquer the victory, adding new levels of challenge, keeping the game enjoyable. We present a new mathematical model to evaluate the solutions, based only on the number of soldiers on the input and output, making it easy to extend to other contexts. The results show it is possible to procedurally generate thousands of new efficient and fair builds, without violating the game rules. Moreover, our analysis of the results was able to identify unbalanced characteristics in the game design and we suggested simple way to fix it.

Keywords

Procedural content generation Evolutionary algorithm Coevolution Massive multiplayer online (MMO) game Real-time strategy (RTS) game Video games 

References

  1. Cardamone L, Lanzi PL, Loiacono D (2015) Trackgen: an interactive track generator for TORCS and speed-dreams. Appl Soft Comput 28:550–558. doi:10.1016/j.asoc.2014.11.010 CrossRefGoogle Scholar
  2. Chen H, Mori Y, Matsuba I (2014) Solving the balance problem of massively multiplayer online role-playing games using coevolutionary programming. Appl Soft Comput 18:1–11. doi:10.1016/j.asoc.2014.01.011 CrossRefGoogle Scholar
  3. Cole H, Griffiths MD (2007) Social interactions in massively multiplayer online role-playing gamers. CyberPsychol Behav 10(4):575–583CrossRefGoogle Scholar
  4. Cook M, Colton S (2011) Multi-faceted evolution of simple arcade games. IEEE Conf Comput Intell Games, CIG 2011:289–296. doi:10.1109/CIG.2011.6032019 Google Scholar
  5. Crawford G, Gosling VK, Light B (2013) Gamers: the social and cultural significance of online games, Routledge advances in sociology, vol 56. Routledge, LondonGoogle Scholar
  6. Ferreira L, Toledo C (2014) A search-based approach for generating angry birds levels. In: 2014 IEEE conference on computational intelligence and games (CIG), IEEE, IEEE, 345 E 47TH ST, NEW YORK, NY 10017 USA, Dortmund, Germany, 26–29 Aug 2014Google Scholar
  7. Frade M, de Vega F, Cotta C (2012) Automatic evolution of programs for procedural generation of terrains for video games. Soft Comput 16(11):1893–1914. doi:10.1007/s00500-012-0863-z CrossRefGoogle Scholar
  8. Goldberg DE (1989) Genetic algorithms in search, optimization, and machine learning. Addison-Wesley Professional, Reading, MAGoogle Scholar
  9. Heaton J (2008) Introduction to neural networks with Java. Heaton Research, Inc. http://www.heatonresearch.com/encog
  10. Igel C, Hüsken M (2003) Empirical evaluation of the improved rprop learning algorithm. Neurocomputing 50(C):105–123CrossRefMATHGoogle Scholar
  11. Jansen T (2013) Analyzing evolutionary algorithms: the computer science perspective. Natural computing series. Springer, Berlin. doi:10.1007/978-3-642-17339-4, http://link.springer.com/book/10.1007%2F978-3-642-17339-4
  12. Karaboga DD (2005) An idea based on honey bee swarm for numerical optimization. Erciyes University, Engineering Faculty, Computer Engineering Department, Tech. repGoogle Scholar
  13. Kennedy J, Eberhart R (1995) Particle swarm optimization. In: IEEE international conference on neural networks, 1995., IEEE, Perth, WA, vol 4, pp 1942–1948. doi:10.1109/ICNN.1995.488968, http://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber=488968
  14. Li Y, Li Y, Zhai J, Shiu S (2012) RTS game strategy evaluation using extreme learning machine. Soft Comput 16(9):1627–1637. doi:10.1007/s00500-012-0831-7 CrossRefGoogle Scholar
  15. Luke S (2009) Essentials of metaheuristics: a set of undergraduate lecture notes. George Mason University, Department of Computer ScienceGoogle Scholar
  16. Mahlmann T, Togelius J, Yannakakis G (2012) Evolving card sets towards balancing dominion. In: Evolutionary computation (CEC), 2012 IEEE congress on, pp 1–8. doi:10.1109/CEC.2012.6256441
  17. Ontanon S, Synnaeve G, Uriarte A, Richoux F (2013) A survey of real-time strategy game ai research and competition in starcraft. Computational intelligence and AI in games, IEEE transactions on 5(4):293–311. doi:10.1109/TCIAIG.2013.2286295, http://ieeexplore.ieee.org/xpl/articleDetails.jsp?arnumber=6637024
  18. Ruela AS, Guimarães FG (2012) Evolving battle formations in massively multiplayer online strategy games. In: SBC—Proceedings of the Brazilian symposium on games and digital entertainment—SBGames 2012, Brasília-DF-Brazil, pp 49–55Google Scholar
  19. Ruela AS, Guimarães FG (2014) Coevolutionary procedural generation of battle formations in massively multiplayer online strategy games. In: 2014 Brazilian symposium on computer games and digital entertainment (SBGAMES), pp 89–98. doi:10.1109/SBGAMES.2014.37
  20. Senior T (2010) Computer program finds devastating starcraft 2 build orders. http://www.pcgamer.com/2010/11/02/computer-program-finds-devastating-starcraft-2-build-orders/
  21. Shaker N, Togelius J, Yannakakis G, Weber B, Shimizu T, Hashiyama T, Sorenson N, Pasquier P, Mawhorter P, Takahashi G, Smith G, Baumgarten R (2011) The 2010 mario AI championship: level generation track. IEEE Trans Comput Intell AI Games 3:332–347. doi:10.1109/TCIAIG.2011.2166267 CrossRefGoogle Scholar
  22. Shaker N, Togelius J, Nelson MJ (2014) Procedural content generation in games: a textbook and an overview of current research. Springer, BerlinGoogle Scholar
  23. Skiena SS (1999) Who is interested in algorithms and why?: lessons from the stony brook algorithms repository. SIGACT News 30(3):65–74. doi:10.1145/333623.333627 CrossRefGoogle Scholar
  24. Smith G (2014) Understanding procedural content generation: a design-centric analysis of the role of pcg in games. In: Proceedings of the SIGCHI conference on human factors in computing systems, ACM, New York, NY, USA, CHI ’14, pp 917–926. doi:10.1145/2556288.2557341
  25. SuperData Research I (2014) Free-to-play online games market. https://www.superdataresearch.com/market-data/online-games-research/
  26. Togelius J, Yannakakis GN, Stanley KO, Browne C (2011) Search-based procedural content generation: a taxonomy and survey. Comput Intell AI Games, IEEE Trans 3(3):172–186CrossRefGoogle Scholar
  27. Togelius J, Shaker N, Nelson MJ (2014) Introduction. In: Togelius J, Nelson MJ, Shaker N (eds) Procedural content generation in games, A textbook and an overview of current research. Springer, BerlinGoogle Scholar
  28. Tozour P, Champandard AJ (2012) Making designers obsolete? evolution in game design. Open interview, http://aigamedev.com/open/interview/evolution-in-cityconquest/
  29. Trepte S, Reinecke L, Juechems K (2012) The social side of gaming: how playing online computer games creates online and offline social support. Comput Hum Behav 28(3):832–839. doi:10.1016/j.chb.2011.12.003, http://www.sciencedirect.com/science/article/pii/S0747563211002706
  30. Yannakakis GN, Hallam J, Lund HH (2006) Comparative fun analysis in the innovative playware game platform. In: Proceedings of the 1st world conference for fun and games. Preston, England, pp 64–70Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2016

Authors and Affiliations

  1. 1.Graduate Program in Electrical EngineeringFederal University of Minas GeraisBelo HorizonteBrazil
  2. 2.Department of Electrical EngineeringFederal University of Minas GeraisBelo HorizonteBrazil

Personalised recommendations