Algoritma Fisher-Yates Shuffle dan Flood Fill sebagai Maze Generator pada Game Labirin

  • Hoetama D
  • Putri F
  • Winarno P
N/ACitations
Citations of this article
22Readers
Mendeley users who have this article in their library.

Abstract

Maze game is an interesting game and used to spend time. However, in the maze game, the level used forthis game still uses static levels. Static levels make the maze shape stay the same if we play the same level. Thus, players will quickly feel bored because it finds the same complexity. Maze generator is a static level problem solution on the maze game. This research uses Fisher-Yates Shuffle algorithm and Flood Fill algorithm to make maze generator. Fisher-Yates Shuffle algorithm is used for wall position randomization and Flood Fill algorithm to keep the maze results to remain resolved. The results of the application implementation yielded 30 mazes and were tested using the Hamming Distance algorithm, yielding that the result of the maze formed is always different. The average percentage rate difference produced 48% each time the maze was formed. The results of the maze that was formed performed perfect maze checking with the result of 83.33% percentage. Index Terms— Fisher-Yates Shuffle, Flood Fill, MazeGenerator, Hamming Distance

Cite

CITATION STYLE

APA

Hoetama, D. J. O., Putri, F. P., & Winarno, P. M. (2019). Algoritma Fisher-Yates Shuffle dan Flood Fill sebagai Maze Generator pada Game Labirin. ULTIMA Computing, 10(2), 59–64. https://doi.org/10.31937/sk.v10i2.1064

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free