Have Grok build a game and teach it to play
Grok created Roofline, then a PPO model was trained to compete on the live page.
- What they did
- The user instructed Grok Bot to make a browser game called Roofline. They then had it train a PPO agent against the actual site at roof.grok.me, while a person provided prompts and saved the results.
- How it went
- The best logged attempt ended at 39,359 points, 4,924 meters, and a combo of 117. The agent was tested on the live page rather than a separate copy.
- Tips
- Keep the game mechanics simple if you want a training run to improve quickly. Save multiple attempts so you can compare the strongest score with the rest.
Try it yourself with Grok Bot
Invent a small web game about [game idea] and deploy it to a live address that I can open in a browser. After that, train a PPO-based agent to control the game on that real page, not a mockup. When the agent is ready, give me the link, the training script, the top score, and a brief note on how it behaves. If a step would publish, overwrite, or delete anything, stop first and ask me to confirm.
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 a game level from a design doc
They used Grok 4.5 to create a new level for an existing Three.js game, then cleaned up and polished the result by hand.
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.
Let Grok Bot handle game updates and X posts
A user used Grok Bot to create and maintain small games in GitHub repos and keep promoting them on X.
Build and play-test a Mars simulator game
They used Grok Build to create, test, and refine a browser Mars simulator for a nephew.
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.
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.