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.
- 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.
Related agent uses
Use spawned agents to build a Rust game engine
They had several Grok bots split up the work and produce a Rust editor with scripting, threading, and scene effects.
Build a one-file particle life simulator
A group of Grok agents made a single-file neon particle simulator with force controls and emergent motion.
Run multiple game builds in parallel
One user had four Grok 4.20 agents create different games at the same time and finish them within a day.
Build an agent to play Pokémon Blue from RAM and screenshots
Joel Zhang wired Gemini 2.5 Pro into a Game Boy emulator so it could read game state and press buttons in Pokémon Blue.
Build a browser 4X game with LLM help
A developer used Grok and Gemini to assemble Hexwardia, a browser-based 4X game, in two weeks.
Have Gemini handle a turn-based Android game
A developer set up Gemini to operate an Android phone and finish a turn in Fire Emblem Heroes without human taps.