Whispers of Wonder | Generative AI Narrative Game

Generative AI, Interactive Storybooks, Python, ChatGPT, Hugging Face, Image Generation, API, RAG
Client
Role
Independent Project - Designer & Developer
Time
Oct - Nov, 2024
Result

Project Overview

This is a personal project where I created an interactive narrative game that uses AI technologies to deliver a personalized storytelling experience. In the game, players guide a young girl through a magical adventure, making choices that shape her journey. I designed the system to combine AI-generated text and visuals, allowing players to explore dynamic narratives in an engaging and imaginative way.

Motivation

The project was inspired by a desire to transform traditional storytelling into an interactive experience. By empowering players to influence the narrative through their decisions, the game creates a sense of agency and immersion. Drawing inspiration from Studio Ghibli's whimsical storytelling and interactive fiction games, this project reimagines how players connect with stories.

Interface and Features

The user interface is designed for simplicity and engagement:

  • Text-Based Interaction: Players can choose from AI-generated options or input their own responses to guide the story.
  • Dynamic Visuals: Contextually generated images accompany the narrative, enriching the immersive experience.
  • Customizable Gameplay: The game adapts to player choices, ensuring each playthrough is unique.
AI remembers user's input and naturally incorporated into the story

Technology

The game utilizes advanced AI tools:

  • GPT-4 for crafting dynamic storylines and dialogues that respond to user inputs.
  • Hugging Face Models for generating illustrations that align with the evolving narrative.
  • LangChain Framework to enhance story coherence and retrieval of relevant context from an adventure story database.

By combining state-of-the-art language and image generation technologies, this project delivers a seamless integration of text and visuals, creating an innovative and engaging player experience.

An example of the story telling

Other projects