SNAKE ARCADE GAME / ESP32 APPLICATION
Bruce Snake
Arcade Snake for Bruce firmware (LilyGO T-Embed CC1101): rotary control, color/speed levels, obstacles, persistent high scores. JS.

About this project
About this project
Snake written as a JavaScript script for the Bruce firmware's JS interpreter, sized for the LilyGO T-Embed CC1101 and its rotary encoder. Turning the knob steers left or right relative to the snake's heading, so it can never reverse into itself, clicking pauses, and ESC opens the menu. Every few apples the snake levels up, changing colour from an eight-colour palette and speeding up from 180 ms to 60 ms per step, with a LEVEL flash; walls start appearing at level 3. The top five scores persist in /snake_scores.json on the SD card, arcade style, asking for three initials on a new record. Installation is copying Snake.js to the card and picking it from JS Interpreter; no build step is involved, since the firmware itself comes from Bruce.
From the README
From the README
- Input
- The rotary encoder does everything
- Feature
- the snake changes color (8-color palette) and gets faster (180 ms → 60 ms)
- Feature
- walls start appearing from level 3
- Firmware
- persistent top-5 saved to /snake_scores.json
- Build
- Copy Snake.js onto the SD card
Hardware
Native board: LilyGO T-Embed
Boards: LilyGo T-Embed
Supported hardware: LilyGo T-Embed. Confirm the exact board revision and pin map in the upstream repository.
What the source supports
Upstream evidence: Reviewed from public README media at commit 3282c3259527 under MIT. Firmware was not executed.
Media credit & rights
Upstream project media · rights remain with its owner · Credit: koua29
Screenshots decoded from the upstream README at a pinned commit. Repository code and firmware were not executed; the license texts are included in the preview package.
View original source ↗ Copyright & removal · Reviewed
More projects on these boards
Bruce Breakout SSID Safari Tembed App Shell
Same use case
AI Passport Nabo Xiaozhi AI Passport Nabo Xiaozhi Dive ARCADE C3
See what an ESP32 project looks like, and whether it runs on your board.
FILTERS
Browse by form factor. Check the exact board, chip and peripherals before installing.
Try a project
Newest listings
Give your project a little spotlight.
Repository links do not imply author endorsement or verified hardware compatibility. Check the upstream safety guidance before powering or flashing a build.