Skip to content
agentusehub

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.

Time saved
Not reported
Setup time
Not reported
Running cost
Not reported
Cost range
Not reported

Use case overview

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.
Travel & Bookings

Phone a restaurant in Thai to book a table

Grok Bot phoned a Michelin restaurant in Thailand, spoke Thai, navigated the phone menu, and asked them to hold the seat while a deposit was arranged.

Grok Bot