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 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 and play-test a Mars simulator game
They used Grok Build to create, test, and refine a browser Mars simulator for a nephew.
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 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.
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.