← All projects

Ratnarok — AI-Driven Tabletop RPG

Web-based RPG where players are heroic rats in a post-human world, with generative AI driving narrative, NPC dialogue, and world events.

Role
Creator
Year
2026
Stack
TanStack Start · React 19 · Tailwind CSS 4 · Radix UI · shadcn/ui · LocalStorage

Context

Tabletop RPGs require significant Game Master preparation — worldbuilding, NPC creation, encounter design. Most digital RPG tools either automate mechanics or narrative, but rarely both in a cohesive experience.

Approach

Built a web-based RPG with three game modes:

  • Solo — fully procedural AI-generated adventures with Gemini-driven NPCs
  • Semi-Guided — AI + optional human GM
  • Classic — traditional rules with digital tools
  • Features 8 character origins, 8 classes, 4 core attributes, and full game rules documented across 12 specification docs. Character data persists via LocalStorage.

    Outcome

  • Working RPG system with complete rules engine, character creation, and AI narrative generation
  • Showcases full-stack capabilities from game design to implementation with TanStack Start