International Journal of Computer Theory and Engineering

Frequency: Quarterly
ISSN: 1793-8201 (Print), 2972-4511 (Online)
Publisher:IACSIT Press

OPEN ACCESS
4.0
CiteScore

IJCTE 2019 Vol.11(6): 116-119
doi: 10.7763/IJCTE.2019.V11.1254

Performance Improver for Block Generator in 1010! Using AND-OR Tree

Livia Andriana Lohanda , Samuel Lukas , Irene Astuti Lazarusli

  • Informatics Department, Universitas Pelita Harapan, Tangerang, Indonesia.

Abstract

1010! is a tile-matching game for Android and iOS. Players aim to fill a board’s entire row or column using blocks from block holder to empty the board, thus create more space for the next blocks. These blocks are randomly-generated, thus occasionally block holders will hold blocks that cannot fit into the board by any combination and cause the game to end. This loss can be avoided using a two-stage performance improver consists of validator and unfit block changer. Validation begins by creating an AND-OR tree as a basis for validation’s flow, taking block set’s permutation and block’s position to the board into account. If the block set is deemed unfit, block changer algorithm will calculate the heuristics for each block based on frequency and location of failure in the validation stage, then change the block with the highest heuristic with random block and redo the validation stage with new block set. After measuring performance on five gameplays, running only the validation stage results in an average of 3.95 ms, while doing both stages ran in 14.48 ms on average.

Keywords

  • AND-OR tree
  • mobile game
  • random generator
  • tile-matching
1254-R026

How to Cite

Copied

Livia Andriana Lohanda, Samuel Lukas, and Irene Astuti Lazarusli, "Performance Improver for Block Generator in 1010! Using AND-OR Tree," International Journal of Computer Theory and Engineering, vol. 11, no. 6, pp. 116-119, 2019. https://doi.org/10.7763/IJCTE.2019.V11.1254

Copyright & License

Copyright © 2019 by the authors. This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited (CC BY 4.0).

Article Metrics in Dimensions

Menu