Developer Releases Warrior Quest Demo Combining Local LLMs with Deterministic RPG Mechanics
Developer /u/Rikkendo released a 60–90 minute Steam demo of Warrior Quest, a dark-fantasy RPG that uses a local large language model (LLM) solely to drive interactive NPC dialogues. The game keeps all world logic, quest progression, and game state mechanics strictly deterministic rather than letting the AI modify the game state. This project offers a practical system architecture for game developers looking to integrate generative AI without suffering from AI hallucinations or broken game loops. By restricting the LLM to roleplay and voice synthesis, developers can enable open-ended player conversation while retaining complete control over story canon and mechanics. The game runs entirely locally on the user's hardware without cloud APIs, requiring a graphics card with at least 8 GB of VRAM. The developer, a veteran software engineer and Dungeon Master, created all assets and trained the NPC text-to-speech system using their own recorded voice acting.
## BACKGROUND
In game architecture, a deterministic game state ensures that given the same player inputs, systems will always produce fully predictable, consistent outcomes. While LLM-powered NPCs allow for dynamic dialogue, using LLMs to govern game state directly often leads to non-deterministic behaviors, hallucinations, and unplayable storylines.