Claim Missing Document
Check
Articles

Found 2 Documents
Search

Goal-Based Autonomous Agent Implementation for an Arduino Uno-Based Embedded Game in a Simulation-Based Environment Yoseph Satria Praka; Adinda Azhsyara; Ananda Maria; Candi Rahayu Tri Prameswari; Desna Romarta Tambun; Nurul Wahyuni; Dwi Ermawati
JMECS (Journal of Measurements, Electronics, Communications, and Systems) In Press Papers
Publisher : Universitas Telkom

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.25124/jmecs.v13i1.12035

Abstract

The implementation of intelligent agents in embedded game systems provides an opportunity to incorporate autonomous decision-making into microcontroller-based applications. This study presents Rebutan!, an Arduino Uno-targeted game featuring an autonomous agent that pursues randomly generated targets during gameplay. The study employed the Four-D model, consisting of Define, Design, Develop, and Disseminate, as the development framework. The prototype was implemented and evaluated as a simulation-based system using the Wokwi environment, incorporating an Arduino Uno, four push buttons, a 32 × 8 MAX7219 LED matrix, an I2C LCD, and a buzzer. The autonomous agent was implemented as a Goal-Based Agent using a Manhattan-Distance-Based Greedy Movement policy with a deterministic axis-priority rule. Black Box Testing evaluated 14 functional scenarios, all of which passed. Gameplay behavior was subsequently evaluated through 50 trials, each lasting 60 seconds, involving five human players with 10 trials per player. The player won 25 trials (50.0%), the AI won 22 trials (44.0%), and 3 trials (6.0%) ended in draws. The mean scores were 11.64 for the player and 11.22 for the AI, with a paired-samples t-test showing no statistically significant difference between the scores, t(49) = 0.441, p = 0.661. Runtime measurements recorded an estimated peak SRAM usage of 704 bytes (34.38%) and an average AI decision time of 1,698.38 μs within the Wokwi simulation. These findings demonstrate the feasibility of implementing deterministic autonomous target pursuit in a simulation-based embedded game prototype under the defined gameplay and evaluation conditions.
RANCANG BANGUN GAME EDUKASI LALU LINTAS DENGAN PCG DAN FSM BERBASIS ARDUINO UNO Yoseph Satria Praka; Ananda Maria; Adinda Azhsyara; Desna Romarta Tambun; Candi Rahayu Tri Prameswari; Nurul Wahyuni; Dwi Ermawati
TESLA: Jurnal Teknik Elektro Vol 28 No 2 (2026): TESLA: Jurnal Teknik Elektro (IN PRESS)
Publisher : Universitas Tarumanagara

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.24912/tesla.v28i2.37875

Abstract

Traffic regulations play an important role in maintaining road safety. Educational games offer an alternative medium for introducing traffic rules through interactive gameplay. This study aims to design and develop an Arduino Uno-based traffic education game called Go & Stop! by implementing Finite State Machine (FSM) and Procedural Content Generation (PCG). The development process adopted the Multimedia Development Life Cycle (MDLC) method, consisting of six stages: Concept, Design, Material Collecting, Assembly, Testing, and Distribution. The system integrates an Arduino Uno with a 32×8 MAX7219 Dot Matrix display, a 16×2 I2C LCD, push buttons, traffic light LEDs, and a buzzer. FSM was implemented to control automatic transitions between traffic light states, while PCG was used to dynamically generate obstacles during gameplay, providing variations in obstacle patterns. System functionality was evaluated using Black Box Testing through 40 test scenarios covering user input, traffic light simulation, obstacle generation, collision detection, scoring, display output, and game over conditions. The results showed that all 40 scenarios were successfully executed, achieving a 100% test success rate. These results indicate that the developed game operates according to its functional specifications. This study demonstrates the implementation of FSM and PCG in an Arduino Uno-based embedded game and presents an interactive alternative for introducing basic traffic regulations through gameplay Abstrak Aturan lalu lintas merupakan salah satu aspek penting dalam menjaga keselamatan berkendara. Game edukasi dapat menjadi alternatif media untuk memperkenalkan aturan lalu lintas melalui pengalaman bermain secara interaktif. Penelitian ini bertujuan untuk merancang dan membangun game edukasi lalu lintas berbasis Arduino Uno bernama Go & Stop! dengan menerapkan metode Finite State Machine (FSM) dan Procedural Content Generation (PCG). Proses pengembangan menggunakan metode Multimedia Development Life Cycle (MDLC) yang terdiri atas enam tahap, yaitu Concept, Design, Material Collecting, Assembly, Testing, dan Distribution. Sistem mengintegrasikan Arduino Uno dengan Dot Matrix MAX7219 32×8, LCD 16×2 I2C, push button, LED lampu lalu lintas, dan buzzer. FSM diterapkan untuk mengatur perpindahan kondisi lampu lalu lintas secara otomatis, sedangkan PCG digunakan untuk menghasilkan rintangan secara dinamis selama permainan berlangsung sehingga menghasilkan variasi pola rintangan. Evaluasi fungsionalitas sistem dilakukan menggunakan metode Black Box Testing melalui 40 skenario pengujian yang mencakup input pengguna, simulasi lampu lalu lintas, pembangkitan rintangan, deteksi tabrakan, sistem skor, keluaran tampilan, dan kondisi game over. Hasil pengujian menunjukkan bahwa seluruh 40 skenario berhasil dijalankan dengan tingkat keberhasilan sebesar 100%. Hasil tersebut menunjukkan bahwa game yang dikembangkan telah beroperasi sesuai dengan spesifikasi fungsional yang ditetapkan. Penelitian ini menunjukkan penerapan FSM dan PCG pada game berbasis sistem tertanam Arduino Uno serta menghadirkan alternatif media interaktif untuk memperkenalkan aturan dasar lalu lintas melalui permainan.