Inspiration
Our fascination with creating an immersive and replayable adventure game led us to explore the possibilities within generative AI. Recognizing that generative AI uniquely enables dynamic storytelling, we chose Google's Gemini AI to power our game, aiming to deliver a novel gaming experience with each playthrough.
What it does
GeminAI Realms is a text-based adventure game that transports players into one of three intricately designed fantasy worlds. Using Gemini AI, the game dynamically crafts engaging narratives, presenting players with a series of chapters filled with actionable events. In each chapter, players face decisions that not only progress the story but also influence the outcome based on their choices.
How we built it
The structure of GeminAI Realms is centered around four key API interactions with Gemini AI:
1. Story Initialization: Upon selecting a fantasy world, this API generates the beginning of the story and introduces the main character.
2. Chapter Development: This API crafts the details of the current location and chapter narrative.
3. Actionable Events Creation: In each chapter, this API generates critical events requiring player decisions, complete with success probabilities for each choice.
4. Action Response Generation: Following a player's decision, this API determines and narrates the outcomes, which could range from progressing the story to concluding it or ending the game based on the character's fate.
These APIs operate in a loop, adapting the game flow until a terminal event is triggered.
Challenges we ran into
The project's manageable scope allowed us to focus on refining the AI's prompt engineering and narrative flow. However, integrating seamless transitions between game sections required meticulous attention to detail to ensure a cohesive experience.
Accomplishments that we're proud of
Despite our limited experience with generative AI and the condensed development timeframe, we successfully launched a functioning game. The project stands as a testament to our ability to harness cutting-edge AI for creative storytelling.
What we learned
Our work with Gemini AI revealed the immense potential of generative AI in content creation, surpassing traditional methods in efficiency and scalability. Further exploration into AI model tuning and advanced machine learning strategies is necessary to enhance our game engine.
What's next for GeminAI Realms
Looking ahead, we plan to delve deeper into model optimization to refine the narrative quality. Additionally, integrating visual elements through AI-generated imagery could enrich the player's experience, making GeminAI Realms not only a pioneer in text-based AI gaming but also a forerunner in multimedia AI-driven entertainment.
Built With
- flutter
- vertexai
Log in or sign up for Devpost to join the conversation.