ESP32 Gallery

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.

Bruce Snake
Open project preview ↗
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

Source repository ↗

Are you the author? Add a badge

Paste this into the project README. It links to this project's page.

[![Listed on ESP32 Gallery](https://esp32gallery.com/badge.svg)](https://esp32gallery.com/projects/koua29-bruce-snake/)
<a href="https://esp32gallery.com/projects/koua29-bruce-snake/"><img alt="Listed on ESP32 Gallery" src="https://esp32gallery.com/badge.svg"></a>

Browse all projects

See what an ESP32 project looks like, and whether it runs on your board.

Sort

FILTERS

Browse by form factor. Check the exact board, chip and peripherals before installing.

MADE SOMETHING?

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.

Try it

Project source ↗
Build & safety

Open project page ↗
Are you the author? Add a badge

Paste this into the project README. It links to this project's page.

FROM YOUR WORKBENCH

Small board.
Big idea.

Share what you've made.

Automatic checks start now. Most reviews finish in 1–3 days.

Prefer GitHub? Open an issue ↗