by oil-oil
AI-powered Werewolf (Mafia) social deduction game where every player is controlled by top LLMs like DeepSeek, Qwen, Gemini, and more
# Add to your Claude Code skills
git clone https://github.com/oil-oil/wolfchaLast scanned: 5/12/2026
{
"issues": [
{
"type": "npm-audit",
"message": "next: Next.js self-hosted applications vulnerable to DoS via Image Optimizer remotePatterns configuration",
"severity": "high"
},
{
"type": "npm-audit",
"message": "postcss: PostCSS has XSS via Unescaped </style> in its CSS Stringify Output",
"severity": "medium"
}
],
"status": "WARNING",
"scannedAt": "2026-05-12T06:40:04.150Z",
"semgrepRan": false,
"npmAuditRan": true,
"pipAuditRan": true
}No comments yet. Be the first to share your thoughts!
Current sponsors:
Note: This project was born at the "Watcha + ModelScope Global Hackathon" as an AI-native game.
"Wolfcha" combines Wolf (Werewolf) + Cha (猹, a character from Chinese literature). It's a nod to the hackathon host while also capturing the fun of watching AI characters interact — like spectating a show.
After graduating, getting 8-12 people together for a proper Werewolf game became nearly impossible. While Werewolf is fundamentally a social game, its core appeal — logical deduction, verbal sparring, and reading between the lines — remains captivating even without the social element.
To enjoy Werewolf anytime, anywhere, we built this AI-powered version. As the name suggests, every player except you (Seer, Witch, Hunter, Guard, Werewolves, etc.) is controlled by AI.
Thanks to the growing context windows and instruction-following capabilities of large language models (LLMs), we've implemented a sophisticated dual-layer roleplay system:
Every conversation is generated in real-time, full of unpredictability and fun.
This is Werewolf you can play alone, with a full table of AI players.
Each AI player has a stable personality, role perspective, memory, and faction goal. They follow speeches, vote history, deaths, and pressure at the table, then decide whether to accuse, defend, bluff, follow, or hold back.
While we don't have a professional art team, we've crafted a polished UI/UX:
We're continuing to improve:
Built with modern web technologies:
To run this project locally:
git clone https://github.com/oil-oil/wolfcha.git
cd wolfcha
# Using pnpm (recommended)
pnpm install
# Or using npm
npm install
You'll need to set up API keys (TokenDance, etc.) for full functionality. Refer to .env.example and create your .env.local.
pnpm dev
Open http://localhost:3000 in your browser.
MIT