Repository files navigation
An interactive detective game where you interrogate AI-generated suspects to find the real criminal.
AI Detective Game is a React-based web application that creates a unique detective experience each time you play. The game generates:
- A crime scenario
- 6 unique suspects with backstories and personalities
- Interactive interrogation sessions with each suspect
- Start a new case
- Review the crime scenario
- Interview each suspect by asking questions
- Look for inconsistencies - five suspects will lie with obvious mistakes about police procedures
- Identify the real criminal - only one suspect tells the truth about committing the crime
- Make your accusation!
- Built with React and Vite
- Uses TailwindCSS for styling
- Integrates with a local LLM API (Ollama using Llama3.2 by default)
- Includes fallback responses if AI is unavailable
- Responsive design for mobile and desktop
- Clone the repository
- Install dependencies: npm install or bun install
- Start the dev server: npm run dev or bun run dev
- For AI integration: run Ollama with Llama3.2 on port 11434
You can customize the AI model by changing the AI_MODEL variable in the App.jsx file.
This project uses:
- React
- TailwindCSS
- Lucide Icons
- Ollama (for LLM integration)
.png)

