Implementasi Algoritma Greedy pada Pencarian Langkah Optimal Permainan Mahjong Solitaire

  • Alvin Juvianto Universitas Bunda Mulia
  • Halim Agung Universitas Bunda Mulia
Keywords: Mahjong Solitaire, game, greedy, artificial intelligence

Abstract

The game of mahjong solitaire is a difficult tough teaser and takes a long time to complete when manually played by the user. The greedy algorithm is applied to find the optimal step in completion of this solitaire mahjong game. The algorithm used in this research is greedy algorithm. The result of this research is game of mahjong solitaire with 5 model of tile arrangement where game can be completed manually or automatically by greedy algorithm. The greedy algorithm is applied to compare the acquisition of the most tile pairs in the 1 step forward when 1 pair of tiles is removed. The conclusion of this study is from 250 times testing of 5 levels of the game where the test at each level as much as 50 times, obtained the victory as much as 168 times and defeat as much as 82 times. So the percentage of success of greedy algorima in completion of game of solitaire mahjong is 67.2%. While in manual testing, from 250 times the test of 5 levels of the game where the test at each level as much as 50 times by 5 players, obtained 161 victories and defeat 89 times. So the percentage of success of greedy algorima in game settlement is 64.4%.

Downloads

Download data is not yet available.
Published
2017-12-17
How to Cite
Juvianto, A., & Agung, H. (2017). Implementasi Algoritma Greedy pada Pencarian Langkah Optimal Permainan Mahjong Solitaire. Jurnal RESTI (Rekayasa Sistem Dan Teknologi Informasi), 1(3), 226 - 231. https://doi.org/10.29207/resti.v1i3.58
Section
Information Technology Articles