Kecerdasan Buatan dengan Metode ID3 Finite State Machine dalam Turn-Based Tactics Game

Adam Putra Sulaiman(1*), Liliana Liliana(2), Leo Willyanto Santoso(3),


(1) Program Studi Informatika
(2) Program Studi Informatika
(3) Program Studi Informatika
(*) Corresponding Author

Abstract


As the world of video game grown and advances there are even
more those who likes and play them as well. One way to increase
immersion within video games is by implementing AI (Artificial
Intelligence). AI is an ability within a program or machine that
can grant said machine/program a power of “thought” so that
they can do a command without unnecessary human inputs. And
AI had grown constantly significant since the day it was
conceived.
However one of AI’s greatest weakness is if implemented too
simplistic within it’s execution, then when someone manage to
decode the AI’s pattern, then said player can use this knowledge
for their advantage. And as a consequence, costed the game
immersion since the game is played not the way it was intended to
or become way too easy. To solve said problem, requires a
flexible AI that can adapt to the gameplay. Using ID3 decision
tree, AI are expected to be able to using the variable within a
Turn-Based Strategy Game to use different options according to
the data it earn. And hopefully with little improvements, this
method can be used to differing video game genres as well.
The test result proven that while ID3 does give some influence for
the AI decision making, during the test run for Turn-Based Game
shown that the Adaptive AI that always chooses the best option if
played the same had a WDL overalls (Win-Draw-Lose) of 1:2:0,
while Adaptive AI with the ID3 formula and dynamic decision
making had a more balanced results of 1:1:1 and random AI
always ended at a disadvantage with 0:0:3. These tests proved
that Adaptive AI provide the most challenge to the player doesn’t
have any influence for the early parts of the game. And that the
ID3 impact were non-existent during the early game but
improving as the game goes on and the data table more varied.

Keywords


Artificial Intelligence; ID3; Finite-State Machine; Unity; FSM; 2D; Decision tree

Full Text:

PDF

References


Adeyinka A., Adekanmi. O.O., Roseline. O., Samuel., and Sandika, Peter O. 2020 Design and Implementation of an Intelligent Gaming Agent Using A* Algorithm and Finite State Machines. ORCID: 0000-0002-2592-2824 P.191 http://www.ripublication.com/irph/ijert20/ijertv13n2_01.pdf

Baumgarte, R., Colton, S., Morris, M., 2008. Combining AI Methods for Learning Bots in a Real-Time Strategy Game https://www.hindawi.com/journals/ijcgt/2009/129075/

Crawford, C. 1991. Computer Gaming World. p. 78. Retrieved 18 November 2020 from https://www.cgwmuseum.org/galleries/index.php?year=1991&pub=2&id=84

Dannenhauer, D., Floyd, M.W., Decker, J., Aha, D.W. 2019. Dungeon Crawl Stone Soup as an Evaluation Domain for Artificial Intelligence https://arxiv.org/abs/1902.01769

E. Adams 2010. Fundamentals of Game Design 2nd Edition, Berkeley: New Riders.

El-Pro-Cus 2013. Finite State Machine: Mealy State Machine and Moore State Machine. Retrieved 3 April 2020 from https://www.elprocus.com/finite-state-machine-mealy-state-machine-and-moore-state-machine/

Ferruci, D., Brown, E., Chu-Carroll, J., Fan, J., Gondek, D., Kalyanpur, A.A., Lally, A., Murdock, J.W., Nyberg, E., Prager, J., Schlaefer, N., and Welty, C. Building Watson 2010. An overview of the DeepQA project. AI Magazine., 31(3):59–79. https://ojs.aaai.org/index.php/aimagazine/article/view/2303

Jazuli, H. 2018 An Introduction to Decision Tree Learning: ID3 Algorithm. Retrieved from 28 August 2020 from https://medium.com/machine-learning-guy/an-introduction-to-decision-tree-learning-id3-algorithm-54c74eb2ad55

Lancelot B., Matyas 2018. “What is Finite State Machine?” Retrieved 24 August 2020 from https://medium.com/@mlbors/what-is-a-finite-state-machine-6d8dec727e2c

Mr. CaveMan. 2012. How to Integrate the Finite State Machine Compiler Retrieved 28 December 2020 from https://labs.grupow.com/blog/2012/03/27/how-to-integrate-the-finite-state-machine-compiler-with-cocos2d

MotW1337. 2017 Strategy: Turn-Based Strategy and Tactics Retrieved 28 March 2021 from https://motw1337.com/games/strategy/relationship-to-other-genres/turn-based-strategy-and-tactics/

Mustofa, S., Rahmawati, E. 2018. Penerapan Finite State Machine Untuk Pengendalian Animasi Pada Video Game RPG Nusantara Legacy http://jurnal.univbinainsan.ac.id/index.php/jusikom/article/view/251

Peng, W.C.J., Zhou, H. 2015. An Implementation of ID3 --- Decision Tree Learning Algorithm https://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.471.5158

Ramadhan, R., Widyani, Y. 2013. Game Development Life Cycle Guidelines. ICACSIS 2013, pp. 95-100. https://ieeexplore.ieee.org/abstract/document/6761558/

Roedavan, R. 2014. Unity: Tutorial Game Engine; Penerbit Informatika Bandung

Rupali Kamble, and Prof. Deepali Shah. 2018. “Applications of AI in Human Life.” International Journal of Research - Granthaalayah, 6(6), 178-188. https://doi.org/10.5281/zenodo.1302459.

Sakkaf, Y. 2020 Decision Trees: ID3 Algorithm Explained. Retrieved from 25 August 2020 https://towardsdatascience.com/decision-trees-for-classification-id3-algorithm-explained-89df76e72df1?gi=4040b4cdda3a

Tesauro, G. 1992. Practical issues in temporal difference learning. Machine learning, 8(3-4):257–277.

Tesauro, G. 1995. Temporal difference learning and TD-Gammon. Communications of the ACM, 38(3):58–68,

Tutorialspoint.com. Retrieved 24 August 2020 from https://www.tutorialspoint.com/digital_circuits/digital_circuits_finite_state_machines.htm

Wilson, P., Mantooth, H.A. 2016. Finite State Machines in VHDL and Verilog in Design Recipes for FPGAs (Second Edition); Zhang, Peng. 2008. Application Software for Industrial Control in Industrial Control Technology. Retrieved 24 August 2020 from https://www.sciencedirect.com/topics/engineering/finite-state-machine


Refbacks

  • There are currently no refbacks.


Jurnal telah terindeks oleh :