Simulation of Cognitive Processes: A Case Study with Animals in Digital Games

Authors

DOI:

https://doi.org/10.5753/reic.2026.7250

Keywords:

Digital Games, Decision Making, Artificial Intelligence, Predictive Control, Behavior Models, Agent Simulation

Abstract

This paper presents the development of an artificial intelligence approach based on Model Predictive Control for the simulation of animals in digital games. The main objective is to assess whether this approach can increase the autonomy and flexibility of virtual character behavior, bringing computational decision making closer to patterns commonly observed in biological systems. The proposed model is compared with a Finite-state Machine baseline. The evaluation is performed through controlled simulations under different initial conditions and difficulty levels. Results indicate that the MPC-based model achieves a longer average survival time and exhibits more flexible behavior than the FSM approach, especially in ideal and intermediate scenarios, responding more effectively to environmental changes.

Downloads

Download data is not yet available.

References

Adeniyi, A. E., Brahma, B., Adebiyi, M. O., Awotunde, J. B., Jimoh, R. G., Olasinde, E., and Bandyopadhyay, A. (2024). Development of two dimension (2d) game engine with finite state machine (fsm) based artificial intelligence (ai) subsystem. Procedia Computer Science, 235:2996–3006. DOI: 10.1016/j.procs.2024.04.283.

Gil, A. C. (2017). Como Elaborar Projetos de Pesquisa. Atlas, São Paulo, SP, Brasil, 6 edition.

Hu, W., Zhang, Q., and Mao, Y. (2011). Component-based hierarchical state machine — a reusable and flexible game ai technology. 2011 6th IEEE Joint International Information Technology and Artificial Intelligence Conference, 2:319–324. DOI: 10.1109/ITAIC.2011.6030340.

Jagdale, D. (2021). Finite state machine in game development. International Journal of Advanced Research in Science, Communication and Technology, 10(1):384–390. DOI: 10.48175/ijarsct-2062.

Maestre, J., Pena, D., and Camacho, E. (2011). Distributed model predictive control based on a cooperative game. Optimal Control Applications and Methods, 32:153 – 176. DOI: 10.1109/CDC.2009.5400588.

Martins, G., de Freitas, R., and Gadelha, B. (2023). Collaborative crowd games exploring participatory sensing and intelligent artificial life simulation techniques. Revista Eletrônica de Iniciação Científica em Computação, 21(1):54–63. DOI: 10.5753/reic.2023.2706.

Naik, H., Bastien, R., Navab, N., and Couzin, I. D. (2020). Animals in virtual environments. IEEE Transactions on Visualization and Computer Graphics, 26(5):2073–2083. DOI: 10.48550/arXiv.1912.12763.

Negenborn, R. R., Schutter, B. D., and Hellendoorn, J. (2004). Multi-agent model predictive control: A survey. ArXiv (Cornell University), abs/0908.1076. DOI: 10.48550/arXiv.0908.1076.

Nugraha, C., Purnamasari, A., Bahtiar, A., and Tohidi, E. (2025). Implementation of finite state machine on npcs to improve game productivity. Journal of Artificial Intelligence and Engineering Applications (JAIEA), 4:1673–1677. DOI: 10.59934/jaiea.v4i3.982.

Saberi Moghadam, S., Khodadad, S., and Khazaeinezhad, V. (2019). An algorithmic model of decision making in the human brain. Basic and Clinical Neuroscience Journal, 10:443–450. DOI: 10.32598/bcn.9.10.395.

Sani, M., Robu, B., and Hably, A. (2021). Pursuit-evasion games based on game-theoretic and model predictive control algorithms. In 2021 International Conference on Control, Automation and Diagnosis (ICCAD), pages 1–6. DOI: 10.1109/ICCAD52417.2021.9638775.

Sugahara, L. E. and Lopes, M. D. (2021). Simulação de comportamento humano. In Anais do Computer on the Beach, volume 12, pages 347–354. DOI: 10.14210/cotb.v12.p347-354.

Unity Technologies (2025). Unity 6.0 documentation. Acessado em: 06 nov. 2025.

Waltham, M. and Moodley, D. (2016). An analysis of artificial intelligence techniques in multiplayer online battle arena game environments. In Proceedings of the Annual Conference of the South African Institute of Computer Scientists and Information Technologists, SAICSIT ’16, New York, NY, USA. Association for Computing Machinery. DOI: 10.1145/2987491.2987513.

Wawrzyński, P., Arabas, J., and Cichosz, P. (2008). Predictive control for artificial intelligence in computer games. In Rutkowski, L., Tadeusiewicz, R., Zadeh, L. A., and Zurada, J. M., editors, Artificial Intelligence and Soft Computing – ICAISC 2008, pages 1137–1148, Berlin, Heidelberg. Springer Berlin Heidelberg. DOI: 10.1007/978-3-540-69731-2_107.

Wazlawick, R. S. (2009). Metodologia de Pesquisa em Ciência da Computação. Elsevier, Rio de Janeiro, RJ, Brasil. Selo Campus.

Published

2026-03-27

How to Cite

Villanova, M. B., & Lopes, M. D. (2026). Simulation of Cognitive Processes: A Case Study with Animals in Digital Games. Electronic Journal of Undergraduate Research on Computing, 24(1), 183–191. https://doi.org/10.5753/reic.2026.7250

Issue

Section

Full Papers