A classic Snake game implementation for the ESP32-4848S040C_I (Sunton 4.0" 480x480 Touch Display).
- Board: ESP32-4848S040C_I
- Display: 4.0" 480x480 IPS (ST7701S Driver via 3-wire SPI + RGB)
- Touch: GT911 Capacitive Touch
- Classic Gameplay: Eat food to grow, avoid walls and your own tail.
- Swipe Controls: Intuitive touch gestures (Up, Down, Left, Right).
- Game States: Title Screen, Options Menu, Gameplay, Game Over with Score.
- Options Menu:
- Speed: Slow, Medium (Default), Fast, Insane.
- Start Length: 1, 2, 3 (Default), 5, 8, 13, 21.
- Optimized Rendering: Uses LovyanGFX for high-performance graphics.
- Swipe Up/Down/Left/Right: Change snake direction.
- Tap Buttons: Navigate menus (Start, Options, Back, Settings).
- Open in VS Code with PlatformIO.
- Build:
pio run - Upload:
pio run --target upload