Hardware
Click-A-Mole
A sophisticated embedded systems project expanding the classic Whack-A-Mole arcade game into a high-performance mechatronic system with bare-metal hardware control.
C/C++ · Arduino Mega 2560 · Embedded Systems · Mechatronics
GitHub01 / Overview
A sophisticated, full-stack embedded systems project expanding the classic arcade “Whack-A-Mole” into a high-performance mechatronic system.
Showcases bare-metal hardware control, real-time operating logic, and robust object-oriented patterns strictly constrained by microcontroller memory bounds.
02 / Key Features
Real-Time FSM Engine
C++ engine built on a 4-state finite-state machine with custom memory management, running a deterministic frame-step simulation at 60 FPS.
Hardware-Software Co-Design
9 independent mole modules synchronized with a stepper motor, physical buttons, and analog multiplexers.
Memory Optimization
Transferred strings to Flash memory and utilised static object pools to eradicate heap fragmentation.
Non-Blocking I/O
Event-driven input handling and collision detection polled concurrently with hardware, without stuttering game logic.
Engineering Discipline
OOP patterns (inheritance, polymorphism) cut development time ~20%, documented across 25+ pages of architecture docs.
Stack
- C / C++
- Arduino Mega 2560
- Embedded Systems
- Mechatronics
- Finite State Machine