Name And Email Address
Name - Aaditya Srivastava Email - aaditya.srivastava.connect@gmail.com
Inspiration
We were inspired to create TextRPG.AI by our love for text-based adventure games and our interest in using AI to enhance the gameplay experience.
What it does
TextRPG.AI is a text-based RPG game powered by AI. The game is guided by an AI dungeon master who leads players through an adventure. Players answer questions and make decisions that shape the outcome of the game. The AI generates icons and descriptive scenery based on the player’s actions, and even provides JSON data for health points and inventory.
How we built it
We built the game using Next.js and Convex. We integrated OpenAI’s GPT-3 model to generate text-based RPG adventures and used DALL-E to generate icons for items. We also utilized Convex’s image storage feature to store and display the generated images.
Challenges we ran into
One challenge we faced was tuning the AI model to ensure it provided appropriate and engaging gameplay experiences. We also encountered some issues with displaying battle previews and properly rolling the dice.
Accomplishments that we’re proud of
We are proud of creating a working prototype of TextRPG.AI within a short timeframe. We are also proud of successfully integrating AI into the game to enhance the player’s experience.
What we learned
Through building TextRPG.AI, we learned how to use Convex, OpenAI, and DALL-E to create an AI-powered game. We gained experience in generating game content using AI models and utilizing Convex’s features for image storage.
What’s next for TextRPG.AI
In the future, we plan to further refine and polish TextRPG.AI, addressing the challenges we encountered and adding more features and gameplay elements. We also hope to explore additional AI models and techniques to enhance the game further.
Built With
- convex
- dall-e
- nextjs
- openai
- typescript

Log in or sign up for Devpost to join the conversation.