Mythbit

A Generative AI interactive experience - Made by Marcy.

Mythbit

Mythbit is an experimental AI-driven web game delivering fast-paced, D&D-inspired adventures. Players interact with the storyteller (a Generative AI bot), battle randomized monsters, and cast spells — all guided by Groq's LLM, which dynamically generates the narrative and adapts to in-game events.

How I Built It

At the core, Mythbit uses a custom-built Model Context Protocol (MCP) to orchestrate LLM interactions, control context memory, and sharply reduce prompt injection risks. I implemented an optional player text input specifically to stress-test system boundaries, ensuring user input only affects the game within safe, predefined limits.

On the frontend, I built Mythbit with Nuxt 3 and Tailwind CSS, using PrimeVue components to create a polished, responsive UI with animations and interactive elements. Server-side rendering (SSR) is leveraged to ensure fast, SEO-friendly delivery and to keep all sensitive AI orchestration securely handled server-side, protecting API keys and system prompts.

Tech Stack

  • Frontend: Nuxt 3, Tailwind CSS, PrimeVue
  • Backend: Groq LLM + custom MCP layer
  • Data Sources: D&D 5e API (for monsters, spells, lore)
  • Hosting: VPS/Unbuntu/Node