Skip to content

hiper2d/werewolf-ai-party-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This the Werewolf game with AI bots who are instructed to pretend to be humans. Who don't know about other AI in the game and try their best to win. Who has its personal goals, secret roles, enemies and alliances.

Chose from the following models

The game supports all the major latest models for the game master and bots:

  • Open AI: O3, O4-mini, GPT-4.1
  • Anthropic: Claude 4 Opus, Claude 4 Sonnet
  • Google: Gemini 2.5 Pro
  • DeepSeek: Reasoner (R1), Chat (V3)
  • Mistral: Mistral 2 Large, Mistral 3 Small
  • Grok: Grok-4
  • Moonshot AI: Kimi K2

Create a game

Create a game in the setting you like, it can be literally anything as long as the AI censorship is okay with that.

A game master AI will generate a story and bots for you. Feel free to change anything:

  • bots' names and stories
  • bots' models, play styles, and voices

Chat with bots or use Text-to-Sound and Sound-to-Text features.

You can follow the theme and roleplay, you can tell them that they are AI, you can try to jailbreak - whatever it takes to survive the voting and the game night.

Survival is not easy, poor Bob (me)

I don't use any frameworks for AI, I created s simple agent for each vendor based on their native SDK.

Stack

  • Next.js 15 and React 19
  • Firebase: auth, firestore
  • All AI providers SDKs

Setup

To run the project locally, you need:

  1. Node.js and npm installed
  2. Firebase project set up with Firestore and Authentication enabled

Firebase Setup

This project uses Firestore and Authentication from Firebase. You'll need to:

  1. Create a new Firebase project in the Firebase Console
  2. Enable Firestore Database
  3. Enable Authentication
  4. Deploy Firestore indexes using Firebase CLI:
    firebase deploy --only firestore:indexes

Frontend Setup

Navigate to the werewolf-client directory and run:

npm install
npm run dev

This will start the Next.js application on localhost:3000.

About

Werewolf Party Game with AI Bots

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages