Leading EDJE

We enjoy helping organizations create specific tech solutions to their hardest and most important business challenges.

Member-only story

Building a Digital Dungeon Master with Semantic Kernel, C#, and Azure

25 min readDec 3, 2024

--

As a kid, I was fascinated by the possibilities of table top role playing games like Dungeons & Dragons, Shadowrun, and Mechwarrior, but rarely got to play them, aside from some combat encounters my brother and I set up and executed. Fast forward a few decades and I’m building software and AI solutions professionally with Leading EDJE, and one of my coworkers decided to start a RPG night.

I was hooked immediately at the idea of playing a character, exploring a game world and a game master’s story, and exploring the mechanics of a game system with characters and a setting that evolved as sessions went on. And then I met one of the hardest parts of these games: scheduling play sessions everyone can attend. I simply didn’t want to wait a few weeks between sessions, and so I got a bright idea: I could build my own virtual dungeon master and use it in the weeks between sessions to explore different settings and character options.

So I did. This article walks you through my approach of using Semantic Kernel, C#, and services in Microsoft Azure to build a digital dungeon master capable of handling simple gameplay scenarios.

Note: this article is intended for hobbyist use and doesn’t assume any ownership of properties claimed by Wizards of the Coast, Hasboro, or other publishers. I strongly recommend you purchase any game system

--

--

Leading EDJE
Leading EDJE

Published in Leading EDJE

We enjoy helping organizations create specific tech solutions to their hardest and most important business challenges.

Matt Eland
Matt Eland

Written by Matt Eland

Professional Wizard at Leading EDJE, Microsoft MVP in AI and .NET. Author of "Refactoring with C#" and "Data Science in .NET with Polyglot Notebooks".

Responses (2)