Case Vault - AI Detective Visual Novel
A limitless, AI-generated noir detective visual novel where every case, suspect, and clue is uniquely created by Gemini 3.0. Features procedural storytelling, real-time AI interrogation with personality-driven suspects, dynamic visuals via Gemini 3.0 Pro Image Preview, and episodic progression across 6 episodes. Built for the Google AI Hackathon.
Proof points
- Procedural Mysteries
- AI Interrogation
- 3 Difficulty Modes
Technologies
JavaScript, Gemini 3.0 Flash, Gemini 3.0 Pro, Gemini 3.0 Pro Image Preview, RAG, Vite
Links
Problem
Classic detective games lose replay value once solved. Users crave infinite mysteries with coherent, solvable cases.
Approach
Built a browser-based visual novel with Gemini 3.0 (Flash for conversations, Pro for story logic) and Gemini 3.0 Pro Image Preview for dynamic visuals. Implemented client-side RAG with a 'Truth File' JSON to prevent AI hallucinations. Designed an episode system with dynamic suspect arrivals and evidence unlocks.
Results
Created a game with win/lose states, dynamic difficulty (3-6 suspects), multilingual support, and seamless latency hiding through 'Approaching...' transitions. Runs entirely client-side.