shipwithmuse

№ 0099GitHub

Minecraft-style voxel game made with Muse Spark

A Three.js, Vite and TypeScript survival-lite voxel game built with Muse Spark, with infinite terrain, crafting, hunger, day-night cycle and zombies.

Minecraft-style voxel game made with Muse Spark on github.com
daum110715/minecraft-made-of-muse-sparkREADME ↗
# MC · Three.js 生存简版

基于 Three.js + Vite + TypeScript 从零还原的类 MC 体素游戏(生存简版)。

## 玩法

- 体素无限地形:丘陵 / 沙滩 / 海洋 / 橡树 / 煤矿 / 铁矿 / 雪山
- 第一人称:WASD 移动、空格跳、Shift 疾跑、鼠标视角(指针锁定)
- 左键按住挖掘(按硬度读条),右键放置方块
- 数字键 1-9 / 滚轮切换快捷栏(滚轮待接),E 打开背包,Q 丢弃选中
- 对着工作台右键打开 3×3 合成,E 背包内 2×2 合成
- 合成链:原木→木板→木棍→工作台→火把/木镐/木剑→圆石→石器→熔炉
- 生存:20 血 / 20 饥饿,疾跑跳跃消耗饥饿,高饥饿回血,空饥饿掉血,摔落伤害,死亡掉落
- 昼夜循环(10 分钟一天),夜晚刷僵尸(追踪+近战),白天燃烧,击杀掉腐肉 + XP
- 掉落物磁吸拾取,自动存档(localStorage,12 秒一次 + 切后台/关闭时),主菜单继续游戏
- F 开关飞行调试,云 / 星空 / 太阳月亮 / 挖掘粒子 / 受伤红屏 / WebAudio 合成音效

## 运行

```bash
npm install
npm run dev
```

浏览器打开输出的地址,点击「开始新世界」即玩。可填种子,留空随机。

## 操作

| 按键 | 动作 |
|---|---|
| WASD / 空格 / Shift | 移动 / 跳 / 疾跑 |
| 鼠标左键按住 | 挖掘 |
| 鼠标右键 | 放置 / 对工作台打开合成 |
| E | 背包(2×2 合成) |
| Q | 丢弃选中物品 1 个 |
| 1-9 | 切换快捷栏 |
| F | 飞行开关 |
| ESC | 暂停(自动保存) |
| 苹果/面包/腐肉 | 在背包里点它(或 Shift+点)吃掉 |

## 目录

```
src/
  main.ts            游戏装配 + 主循环
  config.ts          常量数值
  world/             方块注册 / 地形生成 / Chunk / 网格化 / 体素射线
  player/            控制 / AABB 物理 / 玩家(血量饥饿挖掘放置)
  entities/          僵尸 / 掉落物
  systems/           昼夜 / 音效 / 存档
  ui/                HUD / 背包合成面板 / 菜单 / 合成匹配
  utils/             程序化纹理图集 / 噪声 / 输入
```

## 后续可扩展

- 骷髅弓箭手 / 蜘蛛(继承 `entities/mob.ts`)
- 熔炉烧炼(铁矿→铁锭→铁器)
- 村民 / 红石 / 下界传送门
- 联机、真实材质包、触屏操作

Also filed under Games & 3D

See all →
  1. 0564

    Voice chess on a projector with Muse Spark★

    Weekend project: play chess with Muse Spark running on a DGX Spark with code Muse Spark wrote. Setup: - projector - HDMI, camera, mic, and display server (Raspberry Pi) - pipecat bot (DGX Spark) - vision pipeline (RTX 5090) - coding agents running on the Pi, the DGX

    @kwindla

    X post

    Games & 3D

  2. 0520

    Muse Spark 1.3 stress-tested on 8 game and app builds★

    Bijan Bowen runs Muse Spark 1.3 through a browser OS, C++ skate game, subway FPS, 3D CAD Hot Wheels, a Blender/Godot wrestling game and more, then tallies the total cost.

    @Bijanbowen

    Video

    Games & 3D

  3. 0501

    Muse Code drives Unity CLI to port a golf game to VR★

    Dilmer Valecillos uses Muse Code with Muse Spark 1.2 and the Unity CLI to run tests, validate changes, port a Mini Golf game to other platforms and convert it to VR.

    @dilmerv

    Video

    Games & 3D

  4. 0500

    Muse Code + Unity CLI: Mini Golf to VR★

    Hello everyone! 👋🕶️ I put Meta Muse Code + the Unity CLI to the test with a real Unity project to see how far I could push this agentic workflow. Instead of just generating code, I wanted to see how it could actually interact with Unity, run tests, validate changes, port the h

    @Dilmerv

    X post

    Games & 3D

More GitHub

See all →
  1. 1074

    Ziggy, a 24/7 voice assistant on Muse Spark

    An always-on laptop voice companion: local Porcupine wake word, local Whisper speech-to-text in Hindi and English, Muse Spark via the Meta Model API as the brain, offline TTS and local conversation memory.

    @TanayYadavDev

    GitHub

    Agents & automation

  2. 1066

    Muse remote-control bridge for Intel Macs

    Since Muse for Mac ships only for Apple silicon, this small service lets Muse's cloud VM screenshot, click and type on an Intel Mac, compressing each 5K frame to about 150 KB and handling Retina coordinate scaling.

    @LilMuh

    GitHub

    Errands & personal agent

  3. 1040

    CursorBench 4.0 score-vs-cost report

    A self-contained visual report comparing CursorBench 4.0 score against cost per task for Opus 5.5, Fable 5.1, Grok 4.7 and Muse Spark 1.3, where Muse Spark 1.3 Max scores 41.6% at $2.64 per task. GPT-6 points are clearly marked as estimates.

    @dominicletz

    GitHub

    Benchmarks & research

  4. 0995

    BitNet Gateway: cheap CPU triage, Muse Spark decides

    A hybrid FastAPI gateway where a 1-bit BitNet layer on CPU filters routine traffic and Muse Spark 1.3 is called only for sales, urgency, money or low-confidence cases; the author estimates the local filter handles about 60-70% of volume.

    @rafaelnovaes22

    GitHub

    Agents & automation

Curator picks

  1. 1046

    Medical bills audited line by line, $4,000 saved★

    Got Muse logged in to my medical provider’s portal, he pulled the itemized bills, and questioned every line. So far he’s found several times I’d been double billed, asked for some discounts and has saved me over $4,000. If your moat is bureaucracy, you’re cooked.

    @Ryan_Holdaway

    X post

    Errands & personal agent

  2. 1013

    Shop Pay agentic checkout on every Shopify store★

    We are excited to announce we are partnering deeply with Muse to enable agentic checkout with Shop Pay on all Shopify stores, offering people an easy and delightful way to shop and check out with Muse.

    @tobi

    X post

    Business & commerce

  3. 1009

    Private e-book library app from Google Drive★

    Muse built me a private library for the e-books and articles in my Google Drive. Everything is organized by topic, and each section opens onto its own subcategorized shelves. Each book opens like a real book and is readable in-app

    @chiasmus_cap

    X post

    Apps & websites

  4. 1007

    Plumbing company run by a Muse agent★

    I still can’t believe I can run my plumbing company with an agent so easily. I send this message to my Muse agent while in bed at 6am. And it: updates my job board, texts customer, updates office manager who arrives at 8am in slack Notifies technician

    @HouseHackerJon

    X post

    Agents & automation