Reverse engineered prompt

GitHub

Build me a browser based AI Dungeon Master game with a dark fantasy D and D vibe. I want it to run fully on the client side with no backend, where a player can create a character, pick things like race and class, roll the six core stats, track HP level and inventory, then start an adventure guided by an AI narrator.

The game should generate story scenes, NPC dialogue, and player choices that adapt to what the player does. Add turn based combat with initiative, common dice rolls, attack and damage logic, critical hits, and simple enemy behavior. I also want animated dice, ambient fantasy audio, and sound effects to make it feel alive.

Each scene should show a fantasy image that updates as the story changes. Let the user paste in their Google Gemini API key in a settings area, and use free image generation for the scene art. Keep the UI polished and immersive with glowing panels, fantasy fonts, and smooth transitions. If you need details, check the current docs online.

Have a live product UI? Try website reverse