AI Encounter
Agentic battle chat
An agent that works out which game action a player meant from whatever they typed. There are two here, attack and elaborate, but the same routing extends to as many as you like. Hit the sparkly button for a random battle, then talk your way through it.

Highlights
attack the agent rolls your damage, applies it, then rolls the enemy's replyelaborate answers questions and narrates without touching game staterouting free text to a logical action, written from scratch rather than tool-calledscenarios a fresh battle at any time, nothing saved between them
The battle mechanics are deliberately thin. The point was the routing, not the combat.
Built with
Genkit, TypeScript, Firebase Hosting.