# Bruce Breakout

为 Bruce 固件制作的彩色 Breakout 游戏

Colorful Breakout for Bruce firmware (LilyGO T-Embed CC1101): rotary paddle, changing layouts, power-ups, tough bricks, persistent high scores. JS.

为 Bruce 固件制作的彩色 Breakout 游戏，支持旋钮控制与最高分。

- id: koua29-bruce-breakout
- author: koua29
- repository: https://github.com/koua29/bruce-breakout
- license: MIT
- shape: square
- scenes: games
- boards: LilyGO
- browser_playable: no
- preview: Project screenshots
- html: https://esp32gallery.com/projects/koua29-bruce-breakout/
- html_zh: https://esp32gallery.com/zh/projects/koua29-bruce-breakout/
- json: https://esp32gallery.com/data/catalog/projects/koua29-bruce-breakout.json

## Hardware

LilyGO. Verify the exact board revision, wiring and power requirements in the upstream build guide.

LilyGO；请在上游构建文档中核对具体板型、供电与接线。

## English

```
Not firmware at all: a JavaScript brick-breaker for the Bruce firmware's JS interpreter, copied onto the SD card of a LilyGO T-Embed CC1101 and launched from the interpreter menu. The rotary encoder moves the paddle and a click launches the ball, with the bounce angle depending on where it lands. Level layouts cycle through full, checker, pyramid and stripes, two-hit bricks appear from level three, and drops give a wider paddle, up to three balls, an eight-second slow ball or an extra life. Three lives, a HUD, and a top-five table saved to /breakout_scores.json with three-initial entry. Rendering is incremental to avoid flicker.
```

## 中文

```
这不是固件，而是一个给 Bruce 固件 JS 解释器写的打砖块脚本：把 Breakout.js 拷到 LilyGO T-Embed CC1101 的 SD 卡上，在 JS Interpreter 菜单里选中就能玩，不用编译。旋钮转一下移动挡板，按一下发球，反弹角度看球打在挡板哪一侧。关卡布局在满排、棋盘、金字塔、条纹之间轮换，第三关起出现要打两下的硬砖；掉下来的道具能加宽挡板、把球变成最多三个、让球慢 8 秒或加一条命。三条命，界面显示分数、关卡、最高分和剩余命，最高分前五名带三个字母的名字存进 SD 卡上的 /breakout_scores.json。
```
