← All Work

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

GitHub
60 FPSDeterministic Frame-Step
4FSM Game States
9Mole Modules
25+Pages of Architecture Docs

01 / 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

01

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.

02

Hardware-Software Co-Design

9 independent mole modules synchronized with a stepper motor, physical buttons, and analog multiplexers.

03

Memory Optimization

Transferred strings to Flash memory and utilised static object pools to eradicate heap fragmentation.

04

Non-Blocking I/O

Event-driven input handling and collision detection polled concurrently with hardware, without stuttering game logic.

05

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

Share

Up NextAspire Web Suite