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
Build an HTML5 browser game in small steps
A developer used Gemini to assemble a browser game, then recovered from stalled chats by restarting and reloading the code context.
Guide a game agent through Goat Simulator 3
SIMA 2 in Goat Simulator 3 can be nudged by a person giving live directions.
Pit three agents against a browser shooter build
Three coding agents independently built the same multiplayer shooter, letting the team compare their strengths and weak spots.
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.
Use bots to ship and improve a mobile game
A developer split game work across six bots, including a bot that reused a recorded upload flow to publish ad creatives each day.
Build and play-test a Mars simulator game
They used Grok Build to create, test, and refine a browser Mars simulator for a nephew.