Build a text game around AI narration

A developer used Grok to narrate a choice-based game and said it handled story text better than Gemini and GPT.

Done with Grok BotGemini· Intermediate· May 2026

What they did
They made a text adventure where the player chooses actions, rolls dice, and deals with the results. Behind the scenes, Grok serves as the narrator, keeps the game state aligned, and writes the text the player sees. The project was shared as a structured demo on their profile.
How it went
They say Grok produced stronger narrative writing than Gemini and GPT, with fewer rejections when players tried actions. The post did not include test numbers or a measured side-by-side comparison.
Tips
This works best when the model has a clear role as narrator and a simple record of state to follow. For anything that could end the game or change saved progress, pause and ask the player to confirm first.

Try it yourself with Grok Bot

You are the narrator and state keeper for a [genre] text game set in [setting]. Track the player’s [inventory/health/quests/flags], describe each scene in a vivid but concise way, and present 2 to 4 choices that fit the current situation. After each turn, update the story so far and wait for the player’s next action. If an action would delete progress, spend currency, submit a choice, or end the game, stop and ask for confirmation before doing it. Start with the opening scene.

Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.

Get 3 agent uses like this every morning

With the day's top AI news. Free, and one click to unsubscribe.