Projects
Web ApplicationGitHub

GameMaster AI

A Next.js and TypeScript campaign platform that uses OpenRouter for state-aware AI narration and PostgreSQL with Prisma for persistent characters, campaigns, sessions, and world data.

Campaign platform

5 entries
  1. 01Structured model requests into system, context, and user-prompt layers so narration can incorporate session, character, and world state without mixing responsibilities
  2. 02Used OpenRouter tool calling to route model-selected actions to backend handlers, then returned execution results for follow-up generation
  3. 03Added model fallback, token quotas, and rate limits to keep AI sessions available while controlling usage
  4. 04Persisted campaigns, characters, inventory, and session state with PostgreSQL and Prisma instead of relying on transient prompt context
  5. 05Modeled 5e SRD character creation, initiative-based combat, and d4-d100 dice rolls for both solo and multiplayer campaigns