Welcome to the ESP32 Snake Game project! This is a fully open-source, Arduino-based implementation of the classic Snake game.
This project serves as the first prototype for a larger goal: building a complete DIY portable mini-game console from scratch. Currently designed for a breadboard, it uses an ESP32-S3 and an ILI9341 TFT Display.
โจ Features- Classic Gameplay: Retro snake mechanics.
- High Performance: Powered by the ESP32-S3.
- Sound Effects: Passive buzzer feedback for collecting gems and game over.
- Progressive Difficulty: Snake speed increases every 100 points.
- Easy Build: No soldering required (Breadboard friendly).
- Internal Pull-ups: Buttons use
INPUT_PULLUPto minimize wiring.
- Microcontroller: ESP32-S3 Development Board
- Display: 2.8" or 2.4" TFT LCD (ILI9341 Driver)
- Controls: 4x Tactile Push Buttons
- Audio: 1x Passive Buzzer
- Misc: Breadboard & Jumper Wires
This project uses the VSPI (or specific hardware SPI) pins for the display.
๐ฅ๏ธ Display (ILI9341)Vcc to 3.3vGND to GNDCS to GPIO 4RESET to GIPO 9DC to GPIO 15MOSI to GPIO 11SCK to GPIO 12LED to 3.3vMISO to GPIO 13TOUCH N/A
๐ฎ Controls (Buttons)
Buttons connect between the GPIO pin and GND. No external resistors needed.
UP to GPIO 16DOWN to GPIO 17LEFT to GPIO 18RIGHT to GPIO 8
๐ Audio (Buzzer)Positive to GPIO14Negative to GND
๐ค SupportIf you enjoyed this project or found it useful, please consider supporting the channel!
- ๐บ Subscribe on YouTube: DsnIndustries









Comments