期刊论文详细信息
International Journal on Informatics Visualization: JOIV
Genetic Algorithm for Artificial Neural Networks in Real-Time Strategy Games
article
Yudi Widhiyasana1  Maisevli Harika1  Fahmi Faturahman Nul Hakim1  Fitri Diani1  Kokoy Siti Komariah2  Diena Rauda Ramdania3 
[1] Politeknik Negeri Bandung;Pukyong National University;UIN Sunan Gunung Djati
关键词: Artificial neural networks;    game AI;    human-like behavior;    real-time strategy games.;   
DOI  :  10.30630/joiv.6.2.832
来源: Politeknik Negeri Padang
PDF
【 摘 要 】

Controlling each member of the soldiers to carry out battle with Non-Playable Characters (NPC) is one of the secrets to winning Real-Time Strategy games. The game could be more complicated and offer a more engaging experience if every NPC acts like humans rather than machines with patterned behavior. Like people during a war, each army member's command requires rapid reflexes and direction to strike or evade attacks. An intelligent opponent based on ANN as NPC can react quickly to their opponents. The accuracy of ANN could be enhanced by weight modifications using a Genetic Algorithm (GA). The crossover and mutation rates significantly impact GA's performance as an ANN setup. This research aims to find the best crossover and mutation rates in GA as a weight adjustment in ANN. Experiments were conducted using an RTS game simulator using 20 scenarios on a maximum of 4000 iterations. The initial setup of each troop is random, with a seven-unit type available. In this research, the troops won because their men were subjected to fewer attacks than the opposing forces. The GA optimal crossover and mutation rates are determined using troop victories as a baseline. According to the findings, the best crossover rate for GA as an ANN weight adjustment is 0.6, whereas the specific mutation rate is 0.09. The crossover rate of 0.6 has the highest average win value and tends to increase every generation. As for the mutation rate of 0.09, it has the highest average win value. Thus, this preliminary study can develop NPC more humanly.

【 授权许可】

Unknown   

【 预 览 】
附件列表
Files Size Format View
RO202307110004811ZK.pdf 3922KB PDF download
  文献评价指标  
  下载次数:5次 浏览次数:0次