CodeCraft Hub

Sticky Sokoban

Sticky Sokoban - reTerminal Sticky - Bojing Du - CodeCraft Hub

Scene: Education

Devices / BOM: reTerminal Sticky

Education application on CodeCraft Hub. Classic Sokoban on Sticky e-ink: push boxes onto star-marked goal cells across 12 levels. Axis keys, undo, best-move NVS, EN/ZH—board only, no extra sensors.

Documentation

This firmware is a Sticky remake of the open-source Sokoban demo by happy4boy / sokoban on Gitee — thanks to the original author. V1 runs fully offline on reTerminal Sticky: no Wi-Fi, no cloud, no phone app.

Push each box onto a five-pointed star goal cell (the star marks the target square). Clear all stars across 12 levels. Use Up/Down along the current axis, tap OK (or Menu) for the menu, double-tap OK to undo, tap the left status column or choose Switch axis in the menu, and flip EN/ZH from the footer.

What you need

One reTerminal Sticky (e-ink + buzzer + side keys — no extra modules)

A USB data cable and desktop Chrome or Edge to flash from this page

Deploy steps

  1. Flash the firmware

    Open this page in desktop Chrome or Edge.

    Connect Sticky with a USB data cable.

    Use the firmware tool below to flash the merged image (full flash at 0x0 ).

    When flashing finishes, wait for Sticky to reboot. You should hear a short beep and see Level 1/12 with the play board on the right.

    Flash firmware to your device (in-app tool on CodeCraft Hub).

  2. Play a level

    Goal cells show a five-pointed star . Push every box onto a star cell; a box on a star shows a white star on the box.

    Up / Down : move along the current axis (vertical by default; Up moves up).

    OK short or footer Menu : open the menu (Continue / Switch axis / Undo / Restart / Select level).

    OK double : undo one step. Tap the left status column to switch axis. Tap the board relative to the player to step in that direction.

    Footer language key switches EN/ZH. Best moves are stored on-device in NVS.

    Notes

    One firmware image is bilingual at runtime. Level names and UI strings follow the selected language.

    V1 is offline only: no Wi-Fi, cloud sync, or level editor.