DEV Community

Cover image for Neon Dragon - Cyberpunk living world
Amit Chai
Amit Chai

Posted on

Neon Dragon - Cyberpunk living world

Building an Interactive AI Dungeon Master with Google AI Studio

Some projects don’t just evolve — they collapse and rebuild.

Neon Dragon is currently in its third iteration.
The first version broke under architectural overload.
The second became too complex to scale.
The third is live and structured:

👉 https://neon-dragon.com/

At the core of this system is something ambitious:

An interactive AI Dungeon Master.

What I Built

Neon Dragon is a systemic cyberpunk game world where Google AI Studio (Gemini) acts as a live narrative and game-state mediator.

The AI is not cosmetic.
It functions as:

Interactive Dungeon Master

Narrative engine

World-state interpreter

Event generator

Player-response adapter

The game logic (combat, abilities, states) is deterministic and rule-based inside Unity.

The AI layer sits above it — interpreting context, evolving the world, reacting to player decisions, and shaping narrative continuity.

It’s a hybrid architecture:

Hard systems for balance and fairness

AI-driven interpretation for narrative dynamism

The challenge wasn’t generating story.
It was controlling entropy.

What I Learned

  1. AI must operate within boundaries

Without strict mechanical constraints, narrative AI drifts. Clear rule enforcement made everything stronger.

  1. System clarity is survival

The first build collapsed because AI and mechanics were too intertwined. The third version separates core logic from AI interpretation.

  1. Overdesign is easy with AI

Gemini accelerates expansion. It also accelerates complexity. Learning when to cut systems was critical.

  1. AI as collaborator, not controller

The AI drives narrative — but it never overrides deterministic game logic.

That separation was the breakthrough.

Google AI Studio Feedback

What worked well:

Rapid narrative branching

Contextual world building

Design iteration at high speed

Stress-testing dynamic scenarios

Where friction appeared:

Long-term memory continuity required external structuring

Prompt engineering became architecture design

AI sometimes pushed narrative drama beyond mechanical realism

The key insight:
AI works best as a guided Dungeon Master — not an unchecked storyteller.

Looking Forward

The current version is stable and modular.
Next phase is improving runtime state tracking and tighter AI-to-mechanics synchronization.

The future of games isn’t fully procedural.
It’s structured systems guided by adaptive intelligence.

Neon Dragon is my experiment in that direction.

And version three is only the beginning.

Top comments (0)