{"schema_version":1,"id":"georgik-esp32-spooky-maze-game","name":{"en":"ESP32 Spooky Maze Game"},"summary":{"en":"Rust Bare Metal implementation of maze game for ESP32 with Bevy ECS no_std","zh":"一只小幽灵在随机生成的迷宫里捡金币、躲障碍、扔炸药，同一套游戏逻辑同时跑在电脑键盘、浏览器和好几块嵌入式板子上，既有 ESP32-S3 型号也有初代 ESP32。"},"purpose":"maze game","tier":"community","author":"georgik","repository":"https://github.com/georgik/esp32-spooky-maze-game","license":"MIT","shape":"square","scenes":["games","home"],"boards":[{"name":"ESP32"}],"motion":false,"hardware":{"en":"Supported hardware: ESP32. Confirm the exact board revision and pin map in the upstream repository.","zh":"支持硬件：ESP32。烧录前请在上游仓库核对板卡版本与引脚定义。"},"notes":{"en":"A ghost wanders a randomly generated maze picking up coins, dodging obstacles and setting off dynamite, and the same game logic runs on a desktop keyboard, in the browser and on several embedded boards, including both ESP32-S3 and original-ESP32 models. Bevy ECS holds the rules in a no_std core; each port replaces Bevy's renderer with the Embedded Graphics crate and turns its own input - arrow keys, an accelerometer, or a GT911 touchscreen's on-screen D-pad - into events. Frames go to PSRAM on boards that have it and to the internal heap on the smallest one with 180 KB. The stack is Rust, esp-hal 1.0.0-beta.1 and Bevy 0.16.1; flashing needs espflash and espup, and Xtensa targets also need the compiler toolchain from ESP-IDF v5.5.","zh":"一只小幽灵在随机生成的迷宫里捡金币、躲障碍、扔炸药，同一套游戏逻辑同时跑在电脑键盘、浏览器和好几块嵌入式板子上，既有 ESP32-S3 型号也有初代 ESP32。规则写在 Bevy ECS 的 no_std 核心里，每个移植只换渲染和输入：桌面用方向键，带加速度计的板子倾斜操作，带触摸屏的那块用 GT911 上的虚拟方向键。Bevy 自带的渲染在 no_std 下不可用，改用 Embedded Graphics 自己画。有 PSRAM 的板子把帧缓冲放外部内存，内部内存只有 180 KB 的那块就放片内堆。烧录要装 espflash 和 espup，Xtensa 目标还得另外准备 ESP-IDF 5.5 的编译器工具链。"},"evidence":{"en":"Reviewed from public README media at commit 0ff1b928a691 under MIT. Firmware was not executed.","zh":"项目画面来自提交 0ff1b928a691 的公开 README 媒体，许可证为 MIT；预览未执行固件。"},"readme_excerpts":[{"label":"Engine","quote":"ESP32 Spooky Maze Game is a technical demo game built using [Bevy ECS 0.16.1]"},{"label":"Input","quote":"Uses the GT911 touch controller for input."},{"label":"Memory","quote":"Uses internal RAM heap allocator (180KB) for small framebuffer (130x129x2 = 33,540 bytes)"},{"label":"Render","quote":"we've implemented our own renderer using the Embedded Graphics crate"},{"label":"Build","quote":"Compiler toolchain from ESP-IDF v5.5 (required only for Xtensa targets)"}],"images":{"type":"gallery","primary":"https://esp32gallery.com/previews/georgik-esp32-spooky-maze-game/poster.jpg","poster":"https://esp32gallery.com/previews/georgik-esp32-spooky-maze-game/poster.jpg","sources":["https://esp32gallery.com/previews/georgik-esp32-spooky-maze-game/frames/view-001.jpg","https://esp32gallery.com/previews/georgik-esp32-spooky-maze-game/frames/view-002.jpg","https://esp32gallery.com/previews/georgik-esp32-spooky-maze-game/frames/view-003.jpg","https://esp32gallery.com/previews/georgik-esp32-spooky-maze-game/frames/view-004.jpg"]},"media_credit":{"status":"upstream-project-media","creator":"georgik","source":"https://github.com/georgik/esp32-spooky-maze-game/tree/0ff1b928a6915b930fffe321a0c8efd4fa5f6196","note":{"en":"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.","zh":"画面来自固定提交中的上游 README 截图。未执行仓库代码或固件；预览包内保留了许可证文本。"},"reviewed":"2026-10-20"},"preview":{"browser_playable":false,"kind":"media_gallery","label":{"en":"Project screenshots","zh":"项目截图"},"width":960,"height":720,"shape":"square","source_commit":"0ff1b928a6915b930fffe321a0c8efd4fa5f6196"},"stars":73,"pushed_at":"2026-10-27T13:00:01Z","added_at":"2026-10-20T16:49:38+08:00","urls":{"html":"https://esp32gallery.com/projects/georgik-esp32-spooky-maze-game/","html_zh":"https://esp32gallery.com/zh/projects/georgik-esp32-spooky-maze-game/","json":"https://esp32gallery.com/data/catalog/projects/georgik-esp32-spooky-maze-game.json","markdown":"https://esp32gallery.com/data/catalog/projects/georgik-esp32-spooky-maze-game.md"}}
