Inspiration

Our multi-year D&D campaign with close friends revealed the complexity and overwhelming nature of managing numerous books and materials during battles. This challenge inspired me to simplify the process, making each session more about adventure and less about paperwork.

What it does

The D&D Foe Finder app streamlines the role of a Dungeon Master by intelligently automating the selection of creatures based on the game’s environment and difficulty settings. Users input a challenge rating and describe the battle’s setting, and the app, leveraging a Dungeons & Dragons API and Azure OpenAI's powerful machine learning models, suggests creatures that fit the scenario. It doesn't stop there; the app also generates captivating images and detailed descriptions for each creature, enhancing the storytelling and visual experience of the game, ensuring each encounter is both appropriate and engaging.

How we built it

I developed the app using the Power Platform, which includes Power Apps for the user interface and Power Automate for workflow automation. The system integrates with a Dungeons & Dragons API to fetch creature data and utilizes multiple Azure OpenAI deployments. These deployments are tailored with specific prompts to ensure that the generated content—both text and images—is contextually appropriate for the game environment.

Challenges we ran into

One of the main hurdles was refining the AI's prompting process to accurately interpret the game's context and return relevant creature suggestions. Additionally, ensuring that the AI's output adhered to content guidelines without diluting the essence of traditionally dark or evil creatures required careful balancing between creativity and compliance.

Accomplishments that we're proud of

I am particularly proud of successfully integrating multiple complex AI completion requests to create a seamless and intuitive user experience in the D&D Foe Finder app. The ability to harness the power of Azure OpenAI to interpret environmental descriptions and generate relevant creature suggestions represents a significant achievement. Additionally, I am proud of the innovative use of the DALL-E model to generate vivid, contextually appropriate images that bring each creature to life right before the players' eyes.

What we learned

The project taught me the intricacies of in-depth prompting, which requires extensive coaching and numerous revisions to perfect. Moreover, navigating content filters presented a unique challenge, especially when dealing with creatures that are inherently evil or dark sounding.

What's next for Dungeon Masters' Foe Finder

I want to implement multiple other pages that can aid with Spells, Weapons, Armor and other flavorful content to help the dungeon master creature an immersive experience for the adventurers.

Built With

  • apis
  • azure
  • dalle
  • gpt-3.5turbo
  • openai
  • powerapps
  • powerautomate
Share this project:

Updates