Skip to content

janrau9/HAIV

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

149 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEAD LOOP

GitHub top language GitHub code size in bytes source files GitHub last commit (branch)

version license API

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 Game

📖 Overview

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.

✨ Features

  • 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

🛠️ Technologies

  • Frontend: React, TypeScript, Vite, Framer Motion
  • Backend: Node.js, Fastify, WebSockets
  • AI: OpenAI GPT API
  • State Management: Zustand
  • Styling: TailwindCSS

📋 Dependencies

  • Node.js (v16+)
  • npm or yarn
  • OpenAI API key

📦 Installation

  1. Clone the repository:

    git clone https://github.com/janrau9/HAIV.git
    cd HAIV
  2. Create an .env file in the /backend directory with your OpenAI API key:

    NEXT_PUBLIC_OPENAI_KEY="your-openai-api-key-here"
    

🚀 Gameplay

  1. Start the application using the Makefile:

    make
  2. Open your browser and navigate to:

    http://localhost:5173
    
  3. Click "New Game" to start a new investigation.

  4. Question the suspects by typing in the input field.

  5. Monitor suspicion levels and discovered clues in the notebook.

  6. When you are ready (or out of questions), make your accusation.

Suspect Selection

JanrauLassiValleOlliJarno

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages