返回目录
生活娱乐 插件

dsh-werewolf

AdenChenCoder/dsh-werewolf

AI-powered Werewolf game plugin for the DeepSeek Harness Web UI

Stars
0
Forks
0
Issues
0
更新
1 个月前

PROJECT TOPICS

项目标签

INSTALL REFERENCE

安装参考

未验证
dsh plugin --profile web add github:AdenChenCoder/dsh-werewolf

该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。

PROJECT README

README

dsh-werewolf

English | 中文

An AI-powered Werewolf game for the DeepSeek Harness Web UI. Watch a complete AI game or join one seat as a human player.

Features

  • 6, 9, and 12-seat games.
  • AI-only spectator mode and single-human participation mode.
  • Werewolf, Seer, Witch, Villager, Guard, and Hunter roles.
  • Sheriff election, badge transfer, speeches, voting, tie-break rounds, and night actions.
  • Uses the model currently selected in DeepSeek Harness.

Install

After the first npm release, install the prebuilt package into the Web profile, then restart DSH Web:

dsh plugin --profile web add dsh-werewolf --registry=https://registry.npmjs.org/
dsh web

For local development:

pnpm install --registry=https://registry.npmjs.org/
pnpm run check
dsh plugin --profile web add .

Development

pnpm run typecheck
pnpm run test
pnpm run build
npm pack --dry-run

The Host entry is maintained in src/index.js and copied to lib/index.js during the build. TypeScript domain modules compile into lib/, and src/client/index.js is bundled into the browser entry at client/client.js.

Runtime scope

The game is process-local and currently supports one active game per DSH Web process. Its RPC channel is loopback-only. Restarting the DSH process discards the active game.

License

MIT

CLASSIFICATION EVIDENCE

分类依据

项目类型插件
功能分类生活娱乐
规则置信度

系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: game。