JMECS (Journal of Measurements, Electronics, Communications, and Systems)
In Press Papers

Goal-Based Autonomous Agent Implementation for an Arduino Uno-Based Embedded Game in a Simulation-Based Environment

Yoseph Satria Praka (Politeknik Negeri Jakarta)
Adinda Azhsyara (Politeknik Negeri Jakarta)
Ananda Maria (Politeknik Negeri Jakarta)
Candi Rahayu Tri Prameswari (Politeknik Negeri Jakarta)
Desna Romarta Tambun (Politeknik Negeri Jakarta)
Nurul Wahyuni (Politeknik Negeri Jakarta)
Dwi Ermawati (Politeknik Negeri Jakarta)



Article Info

Publish Date
23 Nov 2026

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.

Copyrights © 2026






Journal Info

Abbrev

jmecs

Publisher

Subject

Computer Science & IT Control & Systems Engineering Electrical & Electronics Engineering Engineering Materials Science & Nanotechnology

Description

Journal of Measurements, Electronics, Communications, and Systems (JMECS) is a scientific open access journal featuring original works on communication, electronics, instrumentation, measurement, robotics, and security networking. The journal is managed by the School of Electrical Engineering and ...