Classic snake game running on ESP32 with SSD1306 OLED display, analog joystick control, and buzzer sound effects. Inspired by the iconic Nokia 5110 snake.
I build this as a demo project to explore ESP32 development with VS Code, PlatformIO, and Wokwi simulator. See also my BLE Heart Rate Sensor Simulator.
- 128x64 OLED display with sprite-based graphics
- Analog joystick for directional control
- Sound effects for movement, eating, and game over
- Pause/resume with joystick button press
- Progressive difficulty - speed increases as snake grows
- Wokwi compatible - can run in the simulator
Run the simulation in your browser: Wokwi Project.
- ESP32 development board (e.g., ESP32 DoIt DevKit V1)
- SSD1306 128x64 I2C OLED display
- Analog joystick module with button
- Passive buzzer
- VS Code with PlatformIO and Wokwi plugins
- C++ code

