cuic19053-hue

Wb Game Studio — Development skill for Claude Code

Development community

One sentence to a playable 2D/3D game, exported as a single offline HTML file.

How to install Wb Game Studio

This entry records only its repository, not the path inside it, so there is no exact command to give. Open cuic19053-hue/wb-game-studio and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Wb Game Studio does

One sentence to a playable 2D/3D game, exported as a single offline HTML file. Zero-dependency Node CLI + WorkBuddy skill. MIT.

Alternatives in Development

README

wb-game-studio

[![check](https://github.com/cuic19053-hue/wb-game-studio/actions/workflows/check.yml/badge.svg)](https://github.com/cuic19053-hue/wb-game-studio/actions/workflows/check.yml) · MIT · Node 22+ · 零 npm 运行时依赖

一句话描述小游戏 → 生成可玩的 2D / 3D 游戏 → 自动试玩 → 换 AI 美术 → 导出**单个离线 HTML** / 游戏墙 / 临时分享链接。 全程本地运行,产物不发任何网络请求。

Describe a small game in plain words, build it from a template, playtest it in a headless browser, swap in AI art, and ship it as one self-contained HTML file. No account, no API key, no network at runtime.

2D · collector 3D · voxel
2D 示例 3D 示例
离线游戏墙(wall 产物) AI 生成角色候选
游戏墙 AI 角色

**在线试玩**:[落地页](https://cuic19053-hue.github.io/wb-game-studio/) · [游戏墙(点击全屏试玩,Esc 返回)](https://cuic19053-hue.github.io/wb-game-studio/wall.html) · [2D 月夜狐·提灯](https://cuic19053-hue.github.io/wb-game-studio/2d.html) · [3D 体素岛·提灯](https://cuic19053-hue.github.io/wb-game-studio/3d.html)

这是什么

一个**平台无关的小游戏构建工具链**:核心是 `scripts/` 下约 1500 行纯 Node ESM,只用标准库,负责创建项目、内联打包单文件 HTML、驱动本机 Chrome 做自动试玩、管理 AI 美术候选与版本、生成游戏墙、开临时只读分享服务。

上面还有一层 `SKILL.md`,把它封装成 **WorkBuddy 技能**:对话里说一句「做个小游戏:小狐狸在竹林里收竹笋躲野猪」,Agent 就会按闸门流程生成、试玩、预览、交付。但这层只是入口,**工具本身不依赖 WorkBuddy**——纯命令行、其他 Agent、CI 里都能直接跑。

与上游的能力对齐(不缩水)

本项目是 [ZSeven-W/dsh-game-studio](https://github.com/ZSeven-W/dsh-game-studio)(MIT)的**平台移植与重写**,不是 git fork。上游绑死在 DeepSeek Harness 宿主运行时上,这里把能力全部搬到平台无关的实现:

上游 game_studio_* 本项目命令 状态
create create 对齐,另加 --orientation / --lang
build build 对齐,另加横竖屏 CSS、中英界面、three.js 共享标记
playtest playtest 对齐:阶段/最高分/生命/fps/脚本错误/截图/封面/角色特写,支持 window.__autoplay、竖屏与横屏尺寸
generate_asset asset generate 对齐:三通道(内置图像生成 / OpenAI / Codex)、1–4 张编号候选、参考图、花费审批卡、透明底检查
apply_asset asset apply 对齐:按编号应用、自动重建
revert_asset asset revert 对齐:回退上一张图、自动重建
versions