Oakhaven D&D

May 21, 2026

image
I've been hard at work developing my second game! This is a D&D Engine based off Gemini. It's a continuation of a book I started writing a number of years back. The game takes over where the last chapter ended. Behind the scenes, this isn't just a standard visual novel—it's powered by a custom-built Python framework utilizing a local SQLite backend to handle real-time state tracking, complex item inventories, and dynamic story progression. By feeding historical lore parameters and strict mechanical guardrails directly into the Gemini API, the engine serves as an immutable, data-driven Dungeon Master that adapts fluidly to your choices without breaking the core rules of the world.

The narrative itself plunges you right back into the grim atmosphere of The Shattered Coast.

You are Svenn, a gruff Battle Cleric from the Northern Crusades—a battle so brutal almost no records survived. You are traveling through Oakhaven when you come to a tavern. You meet two young teenagers, Okias and Zinlen. Orphans who stumbled upon an odd map in a rather unusual spot.

To bring these companions to life, the backend engine utilizes a dedicated character bond matrix. Every interaction dynamically updates their underlying database values, altering their personalities, dialogue, and combat synergy based on how you treat them. You'll quickly find that Okias operates as a bold, adventurous rogue, while Zinlen acts as an intellectually brilliant but deeply risk-averse elf, highly sensitive to the volatile magical forces of the Coast.

This game has a fully functional combat system in place and even voice narrations! The tactical combat loop pulls directly from the database to manage health, spell leveling, and turn queues, while integrated voice processing handles text-to-speech narration on the fly to give the campaign a fully realized, atmospheric tabletop feel.

Core Engineering & Feature Breakdown:

  • The Gemini Narrative Core: Uses custom personality files and strict lore constraints to drive an interactive, high-fidelity storytelling engine.

  • State & Inventory Persistence: Full SQLite infrastructure tracking your inventory, quest milestones, and automatic chapter progression triggers.

  • Companion Analytics: A complex backend matrix tracking your standing with Okias and Zinlen, fundamentally shifting how they assist you.

  • Audio Engine: Built-in voice narration to bring every database-driven scenario to life.

Right now, I've got around three chapters set up and ready to go with the fourth chapter currently being worked on!

Enjoy this post?

Buy Seitheach Wilson a coffee

More from Seitheach Wilson