Skip to content

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🐍 Snake — Bruce / LilyGO T-Embed CC1101

Bruce firmware Device Language License: MIT

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.

Snake menu

🎮 Controls / Contrôles

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.

✨ Features / Fonctions

  • 🌈 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
gameplay game over

🚀 Install

  1. Copy Snake.js onto the SD card (e.g. /scripts or /BruceJS).
  2. On the device: JS Interpreter → select Snake.js (or add it to your favorites with bruce-launcher).
  3. High scores are stored in /snake_scores.json on the SD.

🛒 Matériel / Hardware

Le matériel utilisé pour ce projet — liens affiliés Amazon :

LilyGO T-Embed CC1101 avec antennes LilyGO T-Embed CC1101 noir Kit d'antennes SMA
🔌 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.

🙏 Credits & License

☕ Coffee?

PayPal

About

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

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages