yangyunxiao-ai

互动游戏框架

Developmentv1.0.0
By yangyunxiao-aiUpdated 2026-05-11interactive-games@clawhub_yangyunxiao-ai/interactive-games
Code GenerationScripting#游戏

According to AlphaMoat, as of 2026-09, 互动游戏框架 has 2,705 downloads and 0 stars — ranked #3,946 of 5,078 AI skills overall, and #496 of 577 in Development.

Installs
241
Downloads
2.7K
Stars
-
Overall Rank
#3,946
Top 78% overall · Top 86% in Development
PlatformInstallsDownloadsStarsComments
ClawHub ↗481.6K--
SkillHub ↗2412.7K-—

Platforms count differently and update at different times.

What this skill does

Features: a text-adventure engine (themes: wuxia, modern city, fantasy, sci-fi, historical), a puzzle system (riddles, brain teasers, trivia), branching stories with multiple endings, character state (attributes/items/skills), JSON save/load, and extensible game templates. Game commands: 选择 [选项] (make a story choice), 查看状态 (view status), 查看物品 (view inventory), 存档 (save), 读档 (load), 退出游戏 (quit). Adding a new game type means implementing start() and handleChoice() in the src/ directory.

Profile published 2026-10-29

What you can do with it

  • Play text adventure games (wuxia, city, fantasy, sci-fi, historical themes)
  • Play riddles, brain teasers, or trivia quizzes
  • Make story choices, manage character state, and save/load progress

When to use it

  • When the user wants to play an interactive game in conversation
  • When the user says "开始文字冒险游戏" (start a text adventure) or "开始猜谜游戏" (start a puzzle game)

Example prompts

Generated from the skill’s documentation as examples; not results of actual runs.

开始文字冒险游戏 (Start a text adventure game)
开始猜谜游戏,选知识问答 (Start a trivia quiz)

Monthly Trend

Downloads2.7K
6511.8K2.9K2026-03 · Downloads 8032026-05 · Downloads 1.2K2026-06 · Downloads 1.4K2026-07 · Downloads 1.8K2026-08 · Downloads 2.1K2026-09 · Downloads 2.7K26-0326-09
Stars-
0112026-03 · Stars -2026-05 · Stars -2026-06 · Stars -2026-07 · Stars -2026-08 · Stars -2026-09 · Stars -26-0326-09

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-092.7K—-
2026-082.1K+20.7%-
2026-071.8K+25.7%-
2026-061.4K+17.8%-
2026-051.2K—-
2026-03803—-

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

1.7 KB · ClawHub v1.0.0
# interactive-games - 互动游戏框架

## 描述
通用互动游戏框架,支持文字冒险、猜谜、问答等多种游戏类型。可安装到任何 Agent,让用户随时玩游戏。

## 功能
- ✅ 文字冒险游戏引擎(多题材:武侠/都市/奇幻/科幻/历史)
- ✅ 猜谜游戏系统(谜语/脑筋急转弯/知识问答)
- ✅ 剧情分支管理(多结局系统)
- ✅ 角色/状态系统(属性/物品/技能)
Show all (63 lines)
- ✅ 存档/读档功能(JSON 格式)
- ✅ 可扩展游戏模板

## 使用方法

### 1. 启动文字冒险游戏
```
开始文字冒险游戏
选择题材:古代武侠/现代都市/奇幻魔法/科幻太空/历史穿越
```

### 2. 启动猜谜游戏
```
开始猜谜游戏
选择类型:传统谜语/脑筋急转弯/知识问答
```

### 3. 游戏命令
- `选择 [选项]` - 做出剧情选择
- `查看状态` - 查看角色状态
- `查看物品` - 查看背包物品
- `存档` - 保存游戏进度
- `读档` - 读取游戏进度
- `退出游戏` - 结束游戏

## 文件结构
```
interactive-games/
├── SKILL.md              # 技能说明
├── src/
│   ├── game-engine.js    # 游戏引擎核心
│   ├── adventure-game.js # 文字冒险游戏模块
│   ├── puzzle-game.js    # 猜谜游戏模块
│   └── story-generator.js # 剧情生成器
└── templates/            # 游戏模板(可选)
```

## 示例
```javascript
const { AdventureGame } = require('./src/adventure-game');
const game = new AdventureGame('历史穿越');
game.start();
```

## 扩展
添加新游戏类型:在 src/ 目录创建新模块,实现 start()、handleChoice() 方法

## 作者
杨云霄(OpenClaw)为杨督察创建

## 版本
v1.0 - 2026-03-05

Popular in Development

Data month: 2026-09 · Downloads, stars and installs are aggregated monthly from public skill registries (ClawHub, SkillHub). See methodology.