◀ VibeCruiser

microbit space shooter

A free shooter game — play it in your browser, no install. micro:bit tilt-controlled pixel shooter — Web Bluetooth teaching prototype with shop, boss waves and latency optimizations

by @HarryW00 · HarryW00/microbit-space-shooter on GitHubLANG JavaScriptHOSTED ON HARRYW00.GITHUB.IOUPDATED 3 Dec 2026

Made this, @HarryW00? See how many people played it → or use email

Best with a keyboard. Controls: Arrow keys · Space

▶ Play full screen ▲ Vote: free account with email ▲ Or sign in with GitHub

GitHub may ask you to sign in, then to let VibeCruiser “Verify your GitHub identity” and “Act on your behalf”. We only read your profile and email, and never post anything.

Open the live demo Source on GitHub

From the README

用 micro:bit 藍牙體感 駕駛的瀏覽器像素射擊遊戲 — 一個可以直接拿去上課的 Web Bluetooth 教學範例。

課程重點不是「寫完一個遊戲」,而是讓學生親手看到 輸入延遲、封包大小、更新頻率、插值 如何影響手感。

已實測: micro:bit V2 + Chrome(macOS) — 藍牙 UART、A/B 按鈕、校正、商店流程全部正常。

沒有 micro:bit 也可以玩:用 WASD/方向鍵移動、Space 射擊,或在畫面上拖動(按住會自動開火)。

按 Extensions → 搜尋 Bluetooth → 加入(如果工具箱已有 藍牙 分類可跳過)。 切到 JavaScript,把 microbit/main.ts 全部貼上(覆蓋預設內容)。 按「下載」取得 .hex,把檔案拖到 MICROBIT USB 磁碟。

唔想編譯? 直接下載 repo 內的 microbit/space-micro-shooter.hex,拖到 MICROBIT 即可。

程式會先亮一個心形,然後 關閉 5×5 LED(led.enable(false))以節省 CPU;板子之後看起來是黑的,這是正常的。

校正:把 micro:bit 放在你覺得「置中」的姿勢,按板上的 B(或網頁的「校正目前姿勢」)。 射擊:按 A。

Read the full README on GitHub →

Built something like this? Submit your vibe — free account, takes a minute. How listing works.

More like this

More shooter games →

Made this?

Claim it: create a free account, then press CLAIM THIS in the cruiser. Put the badge below in your README or on your demo page first; that link is how we know it's yours.

Your project is on the cruise, loaded live from your own site. Put the badge in your README or on the demo page: it shows your live play count, it links back to this page, and everyone who lands here is one click from running the real thing.

On VibeCruiser

How listing, the badge and claiming work →