EN — An arcade Snake for the Bruce JS interpreter, built around the rotary encoder. Levels change the snake's color and speed, obstacles appear as you progress, and a persistent top-5 high score table is saved on the SD card.
FR — Un Snake arcade pour l'interpréteur JS de Bruce, pensé pour la molette. Les niveaux changent la couleur et la vitesse du serpent, des obstacles apparaissent, et un tableau des 5 meilleurs scores est sauvegardé sur la carte SD.
The rotary encoder does everything — rotate = turn left/right (relative to the snake's heading, so you can never instantly reverse into yourself), click = pause, ESC = menu.
- 🌈 Levels — every few apples you level up: the snake changes color (8-color palette) and gets faster (180 ms → 60 ms), with a "LEVEL n" flash.
- 🧱 Obstacles — walls start appearing from level 3 to raise the challenge.
- 🏆 High scores — persistent top-5 saved to
/snake_scores.json; enter 3 initials on a new record, arcade style. Viewable from the menu. - 🖥️ Clean UI — picto menu, HUD (score / level / best), flicker-free incremental rendering (apple = red dot, snake = tiles).
| Gameplay | Game over |
|---|---|
![]() |
![]() |
- Copy
Snake.jsonto the SD card (e.g./scriptsor/BruceJS). - On the device: JS Interpreter → select
Snake.js(or add it to your favorites with bruce-launcher). - High scores are stored in
/snake_scores.jsonon the SD.
Le matériel utilisé pour ce projet — liens affiliés Amazon :
![]() |
![]() |
![]() |
|---|---|---|
| 🔌 LilyGO T-Embed CC1101 avec antennes |
⬛ LilyGO T-Embed CC1101 noir, sans antenne |
📡 Kit d'antennes SMA |
En tant que Partenaire Amazon, je réalise un bénéfice sur les achats remplissant les conditions requises. · As an Amazon Associate I earn from qualifying purchases.
- Script: koua29. Runs on the excellent Bruce firmware.
- Released under the MIT License — see LICENSE.






