
Get full C++ & Python code + lifetime access
A standalone, handheld 8-bit style obstacle avoider arcade game built using an ESP32 microcontroller and a 0.96-inch monochrome I2C OLED display. The project features physics-based flap mechanics, procedural obstacle generation, real-time audio feedback via a piezo buzzer, and custom state-driven animations.
| Component | Specification | Connection / Pin | | :--- | :--- | :--- | | Microcontroller | ESP32 Dev Module (30-pin / 38-pin) | USB Powered | | Display | 0.96" I2C OLED (SSD1306, 128x64) | SDA -> GPIO 21, SCL -> GPIO 22 | | Control Button | Tactile Push Button | GPIO 19 (Internal Pull-Up) -> GND | | | Piezo Buzzer | Positive -> GPIO 18, Negative -> GND | | | Breadboard & Jumper Wires | Power Rails (3.3V / GND) |
OLED Display (I2C):
Push Button:
Buzzer:
Install the following libraries via the Arduino IDE Library Manager (Sketch > Include Library > Manage Libraries):