Implementation of Cellular Automata and Fisher Yates Methods on Map Generators in Building Games Using Unity 3D Game Engine 2021

Authors

  • Leni Marlina Universitas Pembangunan Panca Budi
  • Obi Yasil Lubis Universitas Pembangunan Panca Budi

Keywords:

procedural generation, map generator, Cellular Automata, Fisher-Yates Shuffle, Unity 3D, game development

Abstract

The increasing demand for dynamic and replayable game experiences has led to the widespread adoption of procedural content generation, particularly in creating non-repetitive and immersive game environments. This research presents the implementation of Cellular Automata and the Fisher-Yates Shuffle algorithm to develop an efficient and adaptive map generator system within a game built using the Unity 3D Game Engine. Cellular Automata is utilized to generate natural-looking map structures, such as cave-like or maze-like formations, through a grid-based simulation that evolves over multiple iterations based on the states of neighboring cells. This method enables the generation of unique and organic map layouts for each game session. To address potential issues such as disconnected areas and unfair object placement, the Fisher-Yates Shuffle algorithm is applied to randomly distribute key gameplay elements—including player spawn points, enemies, and items—across valid and accessible map regions in an unbiased manner. The system was tested under various parameter configurations to evaluate map quality, connectivity, and computational performance. The results demonstrate that the combination of Cellular Automata and Fisher-Yates Shuffle can effectively generate varied, functional, and aesthetically pleasing maps with high performance and consistency. Furthermore, Unity 3D proved to be a suitable platform for integrating the procedural generation system with other game components such as AI navigation and resource management. This study concludes that integrating Cellular Automata with Fisher-Yates Shuffle offers a robust solution for creating adaptive procedural map generators that enhance gameplay diversity, reduce manual level design time, and improve overall player engagement

References

Santoso, Erick, Gregorius Satia Budhi, and Rolly Intan, 2015. DESIGN OF EDUCATIONAL GAME APPLICATIONS USING WATERFALL MODEL, Garut Teacher Training and Education College Volume.3 Number 1, March 2017.

Putri, Astrid Novita, 2016. OPTIMIZATION OF ALGHORITMA BREADTH FIRST SEARCH ON GAME ENGINE 3D THIRD PERSON SHOOTER MAZE BASED ON ANDROID INTELLIGENT AGENT, UNIVERSITY OF SEMARANG Volume.14 Number 1, July 2016.

Setyamurti, Anindita, Wibisono Sukmo, Tri Afirianto, 2018. Implementation of Procedural Generation to Build Tactical RPG Level using the Occupancy Regulated Extension Method, Universitas Brawijaya Volume.2 Number 8, August 2018.

Septiono, Dony Setiawan and Mussadun, 2016. LAND USE CHANGE MODEL TO SUPPORT FOREST MANAGEMENT UNIT MANAGEMENT PLAN (Case Study of KPH Yogyakarta) Universitas Brawijaya Volume.2 Number 8, 2018.

Sulistya, Indah Erika and Febri Maspiyanti, 2018. LEGEND GAME OF THE ORIGIN OF LAKE TOBA BASED ON DESKTOP, Pancasila University Volume.9 Number 2, July 2018.

Darmawan, Aspian and Mei P Kurniawan, 2016. DESIGN AND MANUFACTURE OF SURVIVAL HORROR GAME "I FOUND YOU" USING UNITY 3D GAME ENGINE STMIK AMIKOM, Yogyakarta, June 2016.

Ginting, Budi Serasi, Fajar Ramadhan, 2018. ARTIFICIAL INTELLIGENCE-BASED BECOME A KING GAME DESIGN, STMIK Kaputama Binjai Volume.2 Number 1, April 2018.

Dedi Nugraha, Sri Winiarti, 2014. DEVELOPMENT OF LEARNING MEDIA TRACKING SYSTEM IN MULTIMEDIA-BASED ARTIFICIAL INTELLIGENCE COURSE, AHMAD DAHLAN UNIVERSITY Volume.2 Number 1, February 2014.

Rodianto, Eva Sapitri Andani, 2019. ACADEMIC ADMINISTRATION INFORMATION SYSTEM IN WEB-BASED TUTORING (CASE STUDY OF DILA SAMAWA), SUMBAWA UNIVERSITY OF TECHNOLOGY, VOLUME.1 Number 1, August 2019.

Ade Sutedi, Cepy Slamet, Dhami Johar Damari, 2015. DESIGN AND BUILD AN OPEN ACCESS JOURNAL USING THE OBJECT-ORIENTED METHOD WITH A UML-BASED WEB ENGINEERING APPROACH. Garut College of Technology, Volume.12 Number 1, Garut 2015.

Rosa A.S., M.Shalahuddin, 2014. Software Engineering, Informatics, Bandung 2013.

Suendri, 2018. Implementation of UML (Unified Modelling Language) Diagram in the Design of Lecturer Remuneration Information System with Oracle University Database of Univer, State Islamic University of North Sumatra, Volume.03 Number 01, November 2018.

Fikria, Balqis Kamalia, 2014. IMPLEMENTATION OF THE FISHER-YATES SHUFFLE ALGORITHM AS A RANDOMIZER OF NON-PLAYABLE CHARACTER (NPC) POSITIONS IN THE MARINE TANTRA GAME. Maulana Malik Ibrahim State Islamic University. Malang, November 2014.

Hanggoro, Kridalukmana, Martono, 2015. Creation of Unity-Based "Clean Jakarta" Game Application, Faculty of Engineering, Diponegoro University, Volume.3 Number 4, October 2015.

Gurupendidikan.co.id. (2021). Flowchart symbols. Retrieved March 09, 2021, from https://www.gurupendidikan.co.id/simbol-flowchart/

Downloads

Published

2025-11-28