An interactive murder mystery investigation game with AI-driven narrative generation. Players take on the role of a detective who must interrogate suspects, discover clues, and ultimately solve the case by identifying the killer.
Dead Loop is an interactive murder mystery investigation game with AI-driven narrative generation. Players take on the role of a detective who must interrogate suspects, discover clues, and ultimately solve the case by identifying the killer.
- AI-Generated Content: Each case is uniquely created by AI, including victim details, murder scene, and suspect profiles
- Interactive Interrogation: Question suspects using natural language and receive dynamic AI-powered responses
- Clue Discovery System: Uncover hidden clues based on your conversation with suspects
- Suspicion Tracking: Monitor how suspicious each character appears as you gather evidence
- Retro Security Camera Aesthetic: Immersive UI with a security camera visual style
- Frontend: React, TypeScript, Vite, Framer Motion
- Backend: Node.js, Fastify, WebSockets
- AI: OpenAI GPT API
- State Management: Zustand
- Styling: TailwindCSS
- Node.js (v16+)
- npm or yarn
- OpenAI API key
-
Clone the repository:
git clone https://github.com/janrau9/HAIV.git cd HAIV -
Create an
.envfile in the/backenddirectory with your OpenAI API key:NEXT_PUBLIC_OPENAI_KEY="your-openai-api-key-here"
-
Start the application using the Makefile:
make
-
Open your browser and navigate to:
http://localhost:5173 -
Click "New Game" to start a new investigation.
-
Question the suspects by typing in the input field.
-
Monitor suspicion levels and discovered clues in the notebook.
-
When you are ready (or out of questions), make your accusation.

