# Lily Go Dongle Games

One-button games for the LilyGo T-Dongle S3 (ESP32-S3)

只有一颗 BOOT 键可玩的一键掌机，塞在 LilyGo T-Dongle S3 里：0.96 英寸 ST7735 屏，80x160，状态靠一颗 APA102 灯珠传达。

- id: grzegorzwodnicki-lilygodonglegames
- author: grzegorzwodnicki
- repository: https://github.com/grzegorzwodnicki/LilyGoDongleGames
- license: MIT
- shape: square
- scenes: games
- boards: LilyGo T-Dongle S3
- browser_playable: no
- preview: Project screenshots
- html: https://esp32gallery.com/projects/grzegorzwodnicki-lilygodonglegames/
- html_zh: https://esp32gallery.com/zh/projects/grzegorzwodnicki-lilygodonglegames/
- json: https://esp32gallery.com/data/catalog/projects/grzegorzwodnicki-lilygodonglegames.json

## Hardware

Supported hardware: LilyGo T-Dongle S3. Confirm the exact board revision and pin map in the upstream repository.

支持硬件：LilyGo T-Dongle S3。烧录前请在上游仓库核对板卡版本与引脚定义。

## English

```
A one-button console squeezed into a LilyGo T-Dongle S3: a 0.96-inch ST7735 panel, 80x160 pixels, an APA102 LED for feedback, and BOOT as the only input. Four games share it — Flappy Bird with gaps that narrow as the score grows, a Runner where holding jumps higher, Snake that wraps at the edges so only self-collision ends a run, and Tower Stack where anything overhanging is sliced off and a drop within 2 px counts as perfect. Tap in the menu to move, hold 0.6 s to start, hold 2.5 s in a game to return, with a progress bar showing the wait. High scores per game survive power cycles in flash. A fixed 60 Hz loop draws into a sprite and pushes one finished frame. PlatformIO builds it, pinned to espressif32@6.9.0 because TFT_eSPI is unreliable with core 3.x on this chip.
```

## 中文

```
只有一颗 BOOT 键可玩的一键掌机，塞在 LilyGo T-Dongle S3 里：0.96 英寸 ST7735 屏，80x160，状态靠一颗 APA102 灯珠传达。菜单里点按换游戏、按住 0.6 秒进，游戏中最长按 2.5 秒退回菜单，进度条会显示还要按多久。四款：Flappy Bird 的缝隙随分数收窄，Runner 长按跳得更高，Snake 只在自撞时结束、场地边界穿墙，Tower Stack 超出下方平台的会被切掉，落点 2 px 内算完美。每种游戏的高分写进 flash 的 NVS，断电还在。构建用 PlatformIO，平台钉在 espressif32@6.9.0，因为 TFT_eSPI 在 core 3.x 的 ESP32-S3 上不稳。
```
