Interactive storytelling / 2025
lAIfe
An AI life simulator with health, intelligence and wealth carried between story turns.
The question
What would happen if you took a different path? lAIfe explores that question through a life simulation where decisions change both the story and the character’s state.
What I built
I led a four-person team and developed the connection between a React/TypeScript interface and a Python/Flask backend. Groq handles narrative generation; structured prompts and JSON state carry character attributes and previous choices into the next turn.
The Night City setting follows health, intelligence and wealth. The engineering challenge is to keep those rules and the generated narrative connected as the player moves through the story.
The outcome
Our team won first place in the AI track at HackHayward 2025. The project brought team coordination, interface work and model orchestration together under a 24-hour deadline.
