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

subject 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.

Keywords: Arduino Uno, Goal-Based Agent, Greedy Pathfinding, Manhattan Distance, Embedded Game

format_quoteCitationfile_copyCopy
[1]
Praka, Y.S. et al. 2026. Goal-Based Autonomous Agent Implementation for an Arduino Uno-Based Embedded Game in a Simulation-Based Environment. JMECS (Journal of Measurements, Electronics, Communications, and Systems). (Nov. 2026), 42–55. DOI:https://doi.org/10.25124/jmecs.v13i1.12035.

license License

Copyright (c) 2026 JMECS (Journal of Measurements, Electronics, Communications, and Systems)


Downloads

Download data is not yet available.