AI Life - Hackathon Submission
Inspiration
We wanted to explore what happens when AI becomes a storyteller rather than just a tool. Traditional life simulation games follow predictable patterns, but what if every action could generate a unique, personalized narrative? We were inspired by the idea of creating truly emergent gameplay where no two experiences are identical.
What it does
AI Life is a life simulation game where AI generates unique stories based on your virtual citizen's personality and actions in real-time. Players manage basic needs like hunger and hygiene while watching their character's life unfold through AI-generated narratives. Each citizen has a five-factor personality that influences how the AI interprets their actions, creating deeply personalized storytelling experiences.
How we built it
We built AI Life using Node.js for the backend simulation engine and a modern web interface for real-time interaction. The core innovation is our integration with GPT-OSS models through Ollama, where we developed a sophisticated prompting system that considers personality traits, environmental context, and character knowledge to generate contextually appropriate narratives. The modular architecture separates the simulation logic from AI integration, making it easy to extend and customize.
Challenges we ran into
The biggest challenge was maintaining narrative consistency while ensuring the AI only responds with knowledge the character should realistically have. We also struggled with balancing response time and quality - generating meaningful narratives in real-time required careful prompt engineering. Creating a personality system that genuinely influences AI behavior rather than just adding flavor text took multiple iterations to get right.
Accomplishments that we're proud of
We successfully created truly emergent storytelling where every playthrough generates unique narratives. Our personality-driven AI system creates believable character behavior that feels authentic rather than random. The real-time integration between life simulation mechanics and AI narrative generation works seamlessly, creating an immersive experience that feels like collaborative storytelling between human and AI.
What we learned
We learned that AI storytelling requires careful constraint design - too much freedom creates inconsistency, while too little creates repetition. Personality modeling significantly impacts AI behavior when properly integrated into prompts. Real-time AI integration is achievable but requires thoughtful caching and prompt optimization strategies.
What's next for AI Life
We plan to add multiplayer features where citizens can interact and create shared narratives. We're exploring deeper personality models and emotional states that evolve over time. Long-term goals include mobile app development, integration with additional AI models for specialized storytelling, and community features where players can share their unique AI-generated life stories.
Log in or sign up for Devpost to join the conversation.