Project introduction
Alive AI interactive relationship game (two platforms) | AI application development case study
An AI character relationship game released on iOS and Android. Players experience a full relationship lifecycle, from matching and chatting to growing affection and breakups, with characters whose emotional responses are simulated. Each of the 15 characters has a detailed personality and 7 hidden emotional dimensions, with memory, proactive messages and realistic reply timing. Multiple models handle different tasks: Claude for storytelling, Gemini for efficient processing and OpenAI for moderation and image generation. The game also includes real-time voice acting and AI-generated scene images.

Background of the Problem
AI character interaction needs conversation context and relationship state across turns. A shared backend handles emotions, memory and model orchestration, while native clients present the interaction.
Core Features
- Real-time AI character dialogue (multiple model configuration)
- 7 hidden emotional state system
- Relationship lifecycle: pairing → dating → breakup
- Three-layer memory (summary/facts/decay)
- AI-generated character screenshots
- In-app purchase integration for both platforms
Implementation Methods
- —Multi-layered content security protection (review + jailbreak detection + output guard + judge)
- —Convex real-time synchronization + FCM proactive messaging
- —Realistic response rhythm (no quick reads and quick replies) and cold reading interaction
Data Flow
- 01Choose a character and start a relationship.
- 02Process dialogue through model and safety checks.
- 03Synchronize memory, emotions and proactive messages.