Penerapan Algoritma Monte Carlo Tree Search Pada Permainan Komputer Maze Treasure

Ahsani, Nazzun Hanif (2017) Penerapan Algoritma Monte Carlo Tree Search Pada Permainan Komputer Maze Treasure. Sarjana thesis, Universitas Brawijaya.

Abstract

Pada penelitian terdahulu, algoritma Monte Carlo Tree Search (MCTS) terbukti telah sukses diterapkan pada permainan turn-based GO. Pada penerapan tersebut, MCTS telah menghasilkan skor tertinggi dibanding dengan skor-skor sebelumnya. Penerapan MCTS juga dilakukan pada permainan realtime Ms. Pac-man dimana dihasilkan skor yang memuaskan dibanding dengan skor tertinggi sebelumnya. Melihat kesuksesan penerapan MCTS tersebut, pada penelitian disini dilakukan penerapan MCTS pada agen enemy dalam permainan Maze Treasure. Penelitian dilakukan dengan mengikuti beberapan tahapan yang meliputi, studi literatur, perancangan simulasi dan algoritma MCTS, implementasi simulasi dan algoritma MCTS, pengujian, dan penutup. Pada Proses perancangan dan implementasi MCTS, dilakukan dengan menerapakan keempat tahapan MCTS, yaitu selection, exploration, play-out, dan backpropagation. Kemudian pada tahap pengujian akan dilakukan pengujian pada 25 map simulasi labirin yang berbeda. Pengujian dilakukan untuk mengetahui menvalidasi behavior dan performa agen dalam permainan. Untuk validasi behavior dilakukan dengan cara melihat tingkat completeness. Tingkat completeness tersebut diuji dengan cara membandingkan skor yang didapatkan agen dan skor yang tersedia. Completeness akan bernilai benar apabila skor yang didapatkan oleh agen dan skor yang tersedia memiliki nilai yang sama. . Hasil dari pengujian validasi behavior menunjukkan bahwa tingkat completeness dari 25 map simulasi adalah 100%, dimana completeness tiap map bernilai benar semua. Untuk pengujian performa dilakukan dengan membandingkan besar frames per second (FPS) pada tiap map simulasi. Hasil menunjukkan bahwa rata-rata performa terbaik ada pada map ukuran 16x12 grid sebesar 261.78 FPS. Adapun rata-rata performa terburuk ada pada map ukuran 52x39 grid sebesar 28.72 FPS. Peningkatan ukuran map labirin akan menyebabkan penurunan terhadap performa. Penggunaan MCTS pada ukuran map diatas 52x39 grid akan menyebabkan permainan tidak layak dimainkan, dimana minimum FPS untuk permainan yang layak dimainkan sebesar 30 FPS.

English Abstract

In a previous study, the Monte Carlo Tree Search (MCTS) algorithm proved to have been successfully applied to turn-based GO games. In the application, MCTS has produced the highest score compared with previous scores. The application of MCTS is also performed on Ms. Pacman realtime games, where the resulting score is satisfactory compared to the previous highest score. Seeing the success of the application of MCTS, in this research applied MCTS to the enemy agent in the game Maze Treasure. The study was conducted by following several stages including literature study, simulation design and MCTS algorithm, simulation implementation and MCTS algorithm, testing and closing. MCTS design and implementation is done by applying the four stages of MCTS, namely selection, exploration, play-out, and backpropagation. In the testing phase will be tested on 25 different maze simulation maps. Testing is done to find out how to validate the behavior and performance of agents in the game. For behavior validation is done by looking at the level of completeness. The completeness level is tested by comparing the scores obtained by the agent and the scores available. Completeness will be true if the scores obtained by the agent and the available score have the same value. . The result of the behavior validation test shows that the completeness level of 25 simulation maps is 100%, where the completeness value of each map is true. For performance testing is done by comparing the frames per second (FPS) in each simulation map. The results show that the best average performance is on the 16x12 grid with value 261.78 FPS. The average worst performance is on the map 52x39 grid with value 28.72 FPS. An increament in the size of the labyrinth will cause a decrease in performance. The use of MCTS on the size of the above 52x39 grid map will cause the game not well to be played, which is the minimum FPS for games that are worth for playing is 30 FPS.

Item Type: Thesis (Sarjana)
Identification Number: SKR/FTIK/2017/344/051706386
Uncontrolled Keywords: Monte Carlo Tree Search, FPS, Maze
Subjects: 000 Computer science, information and general works > 003 Systems > 003.3 Computer modeling and simulation
Divisions: Fakultas Ilmu Komputer > Teknik Informatika
Depositing User: Kustati
Date Deposited: 23 Aug 2017 03:17
Last Modified: 25 Nov 2020 10:42
URI: http://repository.ub.ac.id/id/eprint/1565
[thumbnail of Nazzun Hanif Ahsani.pdf]
Preview
Text
Nazzun Hanif Ahsani.pdf

Download (5MB) | Preview

Actions (login required)

View Item View Item