Building a game and training a PPO agent with Grok

tetsuoai · x · 2026-09-01

The author used Grok to build a browser game called Roofline, then used Grok again to train a PPO (Proximal Policy Optimization) agent to play the live page. The best recorded run achieved a score of 39,359, a distance of 4,924 meters, and a combo of 117. A link to the game is provided.

Related event: Dev Uses Grok to Build a Game and Train a PPO Agent to Play It(2 posts)→

Original post →

More from coding & agent

coding & agent channel →