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.

Done with Grok Bot· Advanced· Sep 2026

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.

Read the original on x.com ↗

Get 3 agent uses like this every morning

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