{"title":"Multi-Agent Reinforcement Learning for creating intelligent agents in social networks-oriented role playing games","authors":"Francisco Martinez-Gil, Eduard Gil-Magraner","doi":"10.1016/j.entcom.2025.100941","DOIUrl":null,"url":null,"abstract":"<div><div>We present a study for building intelligent Non-Playable Characters (NPCs) that act autonomously as main characters in a hand-to-hand combat-themed Role-playing game (RPG). These types of games are very popular in social networking platforms such as Discord, Amino and WhatsApp. Our work aims for creating intelligent characters that learn individual and collaborative game skills behaving as true opponents for human players. We select three reinforcement learning (RL) algorithms (DQN, PPO and QMIX) to be used with different multi-agent approaches: centralized, totally decentralized and centralized training with decentralized execution (CTDE). First, we assess their performance in NPCs against NPCs fighting with a battery of learning tasks varying the configurations of the fighting groups. Secondly, we suggest a learning strategy that separates the fighting learning in two independent processes for each agent: attack and defense, giving better results than learning a single process for the whole combat. Lastly, we present an analysis of human vs. NPC combats and groups of human vs. groups of NPCs based on the number of victories and a Likert scale survey, concluding that our intelligent agents behave better than an average human player.</div></div>","PeriodicalId":55997,"journal":{"name":"Entertainment Computing","volume":"54 ","pages":"Article 100941"},"PeriodicalIF":2.8000,"publicationDate":"2025-03-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Entertainment Computing","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1875952125000217","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, CYBERNETICS","Score":null,"Total":0}
引用次数: 0
Abstract
We present a study for building intelligent Non-Playable Characters (NPCs) that act autonomously as main characters in a hand-to-hand combat-themed Role-playing game (RPG). These types of games are very popular in social networking platforms such as Discord, Amino and WhatsApp. Our work aims for creating intelligent characters that learn individual and collaborative game skills behaving as true opponents for human players. We select three reinforcement learning (RL) algorithms (DQN, PPO and QMIX) to be used with different multi-agent approaches: centralized, totally decentralized and centralized training with decentralized execution (CTDE). First, we assess their performance in NPCs against NPCs fighting with a battery of learning tasks varying the configurations of the fighting groups. Secondly, we suggest a learning strategy that separates the fighting learning in two independent processes for each agent: attack and defense, giving better results than learning a single process for the whole combat. Lastly, we present an analysis of human vs. NPC combats and groups of human vs. groups of NPCs based on the number of victories and a Likert scale survey, concluding that our intelligent agents behave better than an average human player.
期刊介绍:
Entertainment Computing publishes original, peer-reviewed research articles and serves as a forum for stimulating and disseminating innovative research ideas, emerging technologies, empirical investigations, state-of-the-art methods and tools in all aspects of digital entertainment, new media, entertainment computing, gaming, robotics, toys and applications among researchers, engineers, social scientists, artists and practitioners. Theoretical, technical, empirical, survey articles and case studies are all appropriate to the journal.