Implementation of Finite State Machine to Determine The Behaviour of Non-Playabale Character in Leadership Simulation Game
Main Article Content
Abstract
In today's era, games are widely enjoyed by the Indonesian society, and one of them is simulation games. Simulation games have many advantages, including allowing players to experiment freely and encouraging them to learn. Therefore, the use of simulation games can be utilized as a training medium, such as leadership training. There are five levels of leadership based on The 5 Levels of Leadership: position, permission, production, people development, and pinnacle. Direct practice is necessary in training these levels of leadership through the implementation of Artificial Intelligence (AI) in simulation games. One of the AIs used for this implementation is the Finite State Machine (FSM). FSM will be implemented in Non-Playable Characters (NPCs) to determine behavior that is adjusted to the 5 levels of leadership. There are three State Machines (SM) applied to NPCs: Core Game SM, Movement SM, and Status SM. The use of FSM in NPCs results in dynamic NPC behavior in terms of physical movement and changes in NPC status according to 5 Levels of Leadership
Article Details

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain copyright and grant the journal the right of first publication. The work is simultaneously licensed under a Creative Commons Attribution 4.0 International License (CC BY 4.0), which permits others to copy, distribute, remix, adapt, and build upon the work, even commercially, provided proper attribution is given to the original authors and the journal as the source of first publication.
- Authors may enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal’s published version of the work (e.g., posting to institutional repositories, inclusion in books), with an acknowledgment of its initial publication in this journal.
- Authors are encouraged to post their work online (e.g., in institutional repositories, personal websites, or preprint servers) prior to and during the submission process. This practice can foster productive exchanges and may lead to earlier and increased citation of the published work.
User Rights:
All articles published Open Access will be immediately and permanently free for everyone to read and download. We are continuously working with our author communities to select the best choice of license options, currently being defined for this journal as follows: Creative Commons Attribution 4.0 International License.
References
V. Azkiya, “The Third Highest Number of Indonesian Gamers in the World (translate)â€. Accessed: Oct. 28, 2022. [Online]. Available: https://databoks.katadata.co.id/datapublish/2022/02/16/jumlah-gamers-indonesia-terbanyak-ketiga-di-dunia
J. J. Vargas-Iglesias, “Making Sense of Genre: The Logic of Video Game Genre Organization,†Games Cult, vol. 15, no. 2, pp. 158–178, Mar. 2020, doi: 10.1177/1555412017751803.
H. Wise, “10 Reasons Real Life Simulation Games Are So Head-Scratchingly Successful.†Accessed: Feb. 08, 2023. [Online]. Available: https://www.thegamer.com/simulation-games-successful-the-sims/#you-are-the-captain
J. J. Padilla et al., “Using simulation games for teaching & learning discrete-event simulation,†Proceedings - Winter Simulation Conference, pp. 3375–3384, Jul. 2016, doi: 10.1109/WSC.2016.7822368.
J. Maxwell, The 5 Levels of Leadership, 2nd ed. Surabaya: Media Distribusi Cemerlang, 2017.
D. Aversa, Unity artificial intelligence programming : Add powerful, believable, and fun AI entities in your game with the power of Unity, 5th ed. Birmingham: Packt, 2022.
A. Taru, “Penerapan Finite State Machine Pada Perancangan Game.†Accessed: Jan. 27, 2023. [Online]. Available: https://www.gamelab.id/news/206-penerapan-finite-state-machine-pada-perancangan-game
J. Ellis, “What is a Sim Game?,†EasyTechJunkie. Accessed: Jan. 27, 2023. [Online]. Available: https://www.easytechjunkie.com/what-is-a-sim-game.html
M. Arshavskiy, “Simulations And Games: Making Learning Fun! - eLearning Industry.†Accessed: Nov. 27, 2022. [Online]. Available: https://elearningindustry.com/simulations-and-games-making-learning-fun
C. Buttice, “Finite State Machine: How It Has Affected Your Gaming For Over 40 Years.†Accessed: Jan. 27, 2023. [Online]. Available: https://www.techopedia.com/finite-state-machine-how-it-has-affected-your-gaming-for-over-40-years/2/33996
D. Jagdale, “Finite State Machine in Game Development,†International Journal of Advanced Research in Science, Communication and Technology, pp. 384–390, Oct. 2021, doi: 10.48175/IJARSCT-2062.
H. F. Ramadhan, S. H. Sitorus, and S. Rahmayuda, “Educational Game Introduction to West Kalimantan Culture and Tourism Using Android-Based Metdoe Finite State Machine (Translate)†at Coding: Journal Komputer dan Aplikasi, 7(1):108-119 2019.
A. Silva, “What is Leadership?,†Journal of Business Studies Quarterly, 8(1), 2016.
M. Asrar-ul-Haq and T. Anjum, “Impact of narcissistic leadership on employee work outcomes in banking sector of Pakistan,†Future Business Journal, vol. 6, no. 1, Dec. 2020, doi: 10.1186/s43093-020-00040-x.
R. Krisdiawan, “Implementation of Gdlc System Development Model and Linear Congruential Generator Algorithm in Puzzle Game (translate)â€. Jurnal Nuansa Informatika, 12(2), Jul. 2018.
M. T. Trilaksono, “Designing Game Design Document,†Jan. 2022.