CodeCraft Hub

Dino Run

Dino Run - XIAO 1.47" Touch Display (ESP32-S3) - Lei Li - CodeCraft Hub

Scene: Maker

Devices / BOM: XIAO 1.47" Touch Display (ESP32-S3)

Maker application on CodeCraft Hub. A Chrome-style endless runner for the XIAO ESP32-S3 1.47" Touch Display. Jump, duck, and dodge cacti and pterodactyls fully offline while the best score is saved on the board.

Documentation

Dino Run is a Chrome-style endless runner for the XIAO ESP32-S3 1.47" Touch Display. It runs entirely on the board, with no network, account, or companion app. Jump over cacti, duck under pterodactyls, and keep chasing a higher score. A tribute to the original open-source TraeDino project: github.com/XFHurrican/TraeDino .

Deploy steps

  1. Flash the firmware

    Connect the display board to your computer with a USB-C cable. The tool below writes the merged image at 0x0: bootloader, partition table, and game. It erases the board flash first, so the game starts from a clean install. Keep the cable connected until the write finishes.

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

  2. Play a run

    Tap USR1 to jump; release early for a shorter hop. Hold USR2 to duck on the ground or fast-fall in the air. Hold both keys for 600 ms to pause or resume. After Game Over, press any key to start again. Your best score is stored on the board and survives power loss.