Who is Undercover - OpenClaw Skill
Description
A complete implementation of the popular party game "Who is Undercover" (谁是卧底) for OpenClaw. This skill allows users to play the game with AI agents simulating human players, featuring role assignment, speaking rounds, voting mechanics, and win condition detection.
Game Rules
- - Players are assigned secret roles: most are "civilians" with the same word, while 1-2 are "undercovers" with a different but related word
- Each round, players describe their word without revealing it directly
- After descriptions, players vote on who they think is the undercover
- The player with the most votes is eliminated
- Game continues until undercovers are eliminated (civilians win) or undercovers equal/exceed civilians (undercovers win)
Features
- - Configurable player count (4-10 players)
- AI agents simulate realistic human-like descriptions
- Smart voting logic based on speech analysis
- Interactive turn-based gameplay
- One-click installation via ClawHub
- Feishu integration for group play
Usage
/skill who-is-undercover start [player_count] - Start a new game
/skill who-is-undercover join - Join an existing game
/skill who-is-undercover describe "[description]" - Submit your description
/skill who-is-undercover vote [player_number] - Vote for a player
/skill who-is-undercover status - Check current game status
谁是卧底 - OpenClaw技能
描述
为OpenClaw完整实现的流行派对游戏谁是卧底。该技能允许用户与模拟人类玩家的AI代理一起游戏,具备角色分配、发言轮次、投票机制和胜利条件检测功能。
游戏规则
- - 玩家被分配秘密角色:大多数为持有相同词语的平民,1-2名为持有不同但相关词语的卧底
- 每轮玩家描述自己的词语,但不能直接透露
- 描述结束后,玩家投票选出他们认为的卧底
- 得票最多的玩家被淘汰
- 游戏持续进行,直到卧底被淘汰(平民获胜)或卧底人数等于/超过平民人数(卧底获胜)
功能特点
- - 可配置玩家数量(4-10人)
- AI代理模拟逼真的人类描述
- 基于发言分析的智能投票逻辑
- 交互式回合制游戏
- 通过ClawHub一键安装
- 支持飞书集成进行群组游戏
使用方法
/skill who-is-undercover start [玩家数量] - 开始新游戏
/skill who-is-undercover join - 加入现有游戏
/skill who-is-undercover describe [描述] - 提交你的描述
/skill who-is-undercover vote [玩家编号] - 投票给某位玩家
/skill who-is-undercover status - 查看当前游戏状态