CONTROLLING BOTS’ BEHAVIOR IN RPG GAMES USING THE IMMUNE MODEL OF CLONAL SELECTION
DOI:
https://doi.org/10.35546/kntu2078-4481.2025.3.2.32Keywords:
immune model, clonal selection, spaceship, combat, control, design, game botAbstract
The development of game character control models that use artificial intelligence methods is extremely important.The issues of creating intelligent game bots that allow simulating the behavior of players in an RPG (Role-Playing Game) are considered. With the help of the game design created of the project, a futuristic world is simulated in which the player controls spaceships that compete with other similar spaceships. Various options for attacking or restoring ships are used according to the completed description of their capabilities, where the main attention is focused on the features of their action. The game provides for the implementation of several factions, which allow you to create different types of spaceships and give them specific properties. Each ship from the user’s team, as well as from the enemy’s team, can have different ranks, which significantly impact both the parameters and the cost of this ship. The game application uses the theory of artificial immune systems (AIS) for effective control of game bots, namely the immune model of clonal selection. For this purpose, a modified immune model of clonal selection, Clonalg-rpg, is proposed, in which the antibodies of the system are bots, and the antigens foreign to the system are ships from the project user team that can interact with antibodies. By executing recovery commands for both the bots of their team and for themselves, the bots have the opportunity to interact with each other. Using specific immune operators that allow performing appropriate actions with the population of antigens and antibodies, the work of the modified Clonalg-rpg algorithm is described. To analyze its effectiveness, several game sessions were conducted, in which different compositions of both user ship teams and bot teams were changed. During the game sessions, teams were formed using specific settings, and not randomly. At the same time, spaceships were divided into three classes according to their parameters and capabilities. The results of the experimental studies showed that the proposed immune model Clonalg-rpg is effective and simple to implement, which makes it possible to use it in other game genres.
References
Panchanadikar R., Freeman G., Li L., Schulenberg K., & Hu Y. (2024). A New Golden Era’ or ‘Slap Comps’: How Non-Profit Driven Indie Game Developers Perceive the Emerging Role of Generative AI in Game Development.” Extended Abstracts of the CHI Conference on Human Factors in Computing Systems. NY, USA: ACM. 1–7. https://doi.org/10.1145/3613905.3650845
Immonen J. (2024). Primary Tools and Techniques in Game Development. Bachelor’s thesis. Lappeenranta-Lahti University of Technology LUT, 43 pages. https://lutpub.lut.fi/bitstream/handle/10024/168411/
Szolin K., Kuss D. J., Nuyens F. M., & Griffiths M. D. (2023). “I am the character; the character is me”: A thematic analysis of the user-avatar relationship in video games. Comp. in Hum. Behavior, Vol. 143, 107694. https://doi.org/10.1016/j.chb.2023.107694
Quiroga M. A., Diaz A., Román F.J., Privado J., & Colom R. (2019). Intelligence and video games: Beyond “brain-games”. Intelligence, Volume 75, 85-94. URL: https://www.elsevier.com/locate/intell
Simons A., Wohlgenannt I., Zelt S., Weinmann M., Schneider J., and vom Brocke J. (2023). Intelligence at play: game-based assessment using a virtual-reality application. Springer https://doi.org/10.1007/s10055-023-00752-9
Lum Y., & Li W. (2022). Techniques and Paradigms in Modern Game AI Systems. Algorithms, 15(8), 282. https://doi.org/10.3390/a15080282
Fan X., Wu J., & Tian L. (2020). A Review of Artificial Intelligence for Games. Part of the Lecture Notes in Electrical Engineering book series (LNEE, vol. 572, 1821. URL: https://doi.org/10.1007/978-981-15-0187-6_34
Snyder R. (2023). 10 Best Spaceships in Video Games URL: https://www.dualshockers.com/best-spaceships-in-video-games/
Mohd T., Bravo-Garcia F., Love L., Gujadhur M., Nyadu J. (2023). Analyzing strengths and weaknesses of Modern Game Engines. International Journal of Computer Theory and Engineering, 15(1), 54–60. https://www.ijcte.org/vol15/IJCTE-V15N1-1330.pdf
Silić M., Džaja B., Rogulj R., & Turić H. (2024). Optimizing Game Ready Asset Creation Pipeline: From Concept to Implementation in Unreal Engine 5. ORGANIZER, 732. https://hdl.handle.net/11159/654467
Dasgupta D., Yu S., & Nino L. F. (2011). Recent Advances in Artificial Immune Systems: Models and Applications. Applied Soft Computing. Elsevier, 1574–1587. URL: https://https://doi.org/10.1016/j.asoc.2010.08.024
Korablyov M., Fomichov O., Chubukin O., Antonov D., & Dykyi S. (2023). Immune Model for Controlling Characters in Computer Games. XI International Scientific and Practical Conference “Information Control Systems and Technologies (ICST)”, 214–226. https://ceur-ws.org/Vol-3513/
Shekhar S., Sharma D. K., Agarwal D. K., & Pathak Y. (2022). Artificial Immune Systems-Based Classification Model for Code-Mixed Social Media Data. IRBM, Vol. 43, Iss. 2, 120-129. URL: https://doi:10.1016/j.irbm.2020.07.004







