Skip to content
agentusehub
Sign in+ Submit
Build a browser game and train an agent to play it

Build a browser game and train an agent to play it

Grok built the browser game Roofline, then trained a PPO agent that plays the live page, reaching a best score of 39,359.

Read the experience
Time saved
Not reported
Setup time
Not reported
Running cost
Not reported
Cost range
Not reported

Use case overview

“Build a browser game and train an agent to play it” is a Games & Simulations AI agent workflow from Any. It connects Grok Bot in 2 steps.

Grok built the browser game Roofline, then trained a PPO agent that plays the live page, reaching a best score of 39,359.

Reported experience

  1. What they did

    The user prompted Grok to create the Roofline browser game. Grok then trained a PPO agent to interact directly with the live page at roof.grok.me. A person supplied the prompts and recorded the runs.

  2. How it went

    The best recorded run reached 39,359 score, 4,924 meters, and combo 117.

Example prompts

Try with Grok Bot
Build a simple browser game based on [game idea] and host it so it's playable at a live link. Then train a reinforcement learning agent, such as PPO, to play it, and report its best score and a few examples of how it plays. Finish with the game link, the training code, and a short summary of results.

Frequently asked questions

What does the “Build a browser game and train an agent to play it” workflow do?

Grok built the browser game Roofline, then trained a PPO agent that plays the live page, reaching a best score of 39,359.

Which tools do I need?

You need Grok Bot.

How long does it take to set up?

The guide walks through 2 steps, starting with “What they did”.

Add this badge to your site

Built this workflow? Show it is featured on AgentUseHub with a live upvote count that links back here. About badges

Featured on AgentUseHub